Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Entitree

No security coverage Under active development 17 sites

Entitree allows you to organize content and other entities in a hierarchical tree structure. It provides tools to enable this functionality for different entity types, such as nodes and taxonomy terms, and offers an API for managing and accessing the tree. The module also includes features for automatically generating entity paths and defining robust, cascading permissions based on user context and priority.

Entitree provides a tree structure to content entities in a Drupal site. Along with the structure itself, Entitree provides tools to enable support for entity types as well as an API for accessing the tree structure. Once an entity type is made available, all entities of that type can be added to the tree.

Included Submodules

Entitree Node

Support for the Node (content) entity type is provided in a submodule. This module must be enabled for Node support to be provided.

Entitree Taxonomy Term

Support for the Taxonomy Term entity type is provided in a submodule. This module must be enabled for Taxonomy Term support to be provided.

Entitree Location Rules

Once an entity is added to the tree structure its paths should be managed only by Entitree. Use the included Entitree Location Rules module to generate paths automatically when creating and updating entities (consider this a replacement for Pathauto in the Entitree ecosystem).

Entitree Permissions

Enable and configure the included Entitree Permissions module to define permissions in the context of the tree structure. This is a robust system that supports:

  • Cascading permissions per sub-tree: Define a permission and specify if it applies only to a single location in the tree or that location and all of its descendants. Conflicting permissions in descendants will override cascading permissions.
  • Define permissions based on any user context: Unlike Drupal core, Entitree provides support for user and role-based permissions out-of-the-box. A plugin type is defined to allow for further extension of this behavior. In the future this should be expanded to support fields on the User entity type.
  • Assigned priority to permissions: Any number of permissions can be defined on a location. Every permission is assigned a priority value allowing the administrator to have full control over the order applied when a user's context matches multiple permissions.

Current Limitations

  • Multilingual support: Multilingual support is only partially implemented. At this point the data structure is in place, but logic still needs to be completed to leverage the data. This module should be avoided for multilingual projects for now.

Roadmap

  • Complete updates to meet Drupal coding standards.
  • Add multilingual support.
  • Add user property permissions type.
Drupal 10–11

Ask your assistant about Entitree

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
6
Tracked since
Mar 2023
Latest release
5 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
1.2.0 Stable 10–11 May 6, 2026
1.1.0-beta4 Pre-release 8–10 PHP ^7.2 || ^8 Aug 28, 2024
1.1.0-beta3 Pre-release 8–10 PHP ^7.2 || ^8 Aug 27, 2024
1.1.0-beta2 Pre-release 8–10 PHP ^7.2 || ^8 Aug 18, 2023
1.1.0-beta1 Pre-release 8–10 PHP ^7.2 || ^8 Aug 16, 2023
1.0.9 Stable 8–9 PHP ^7.2 || ^8 Mar 6, 2023