Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Entity admin handlers

No security coverage Under active development 8 sites

Part of the Entity ecosystem · 308 projects

This module offers an administrative interface for custom entity types, eliminating the need for custom code when Drupal core's admin UIs aren't suitable. It simplifies managing entity fields and bundles, supporting both single-bundle and plain multi-bundle entity types.

The Entity Admin Handlers module provides an out-of-the box admin UI for custom entity types whose configuration means that the admin UI code in Drupal core doesn't fit.

This reduces the need for boilerplate code to provide a UI to manage fields on the entity type and its bundles.

The following cases are provided for.

Single bundle entity type

This is for entity types that do not use bundles and in effect, have a single
bundle which typically has the same name as the entity type.

This is identical to the way the core user entity type works.

The handlers define a dummy route for Field UI module to hang its routes off.

Plain bundle entity type

This is for entity types that use multiple bundles, but do not have a config
entity type that defines the bundles (so for example, if the content entity type
is 'foo', there is no 'foo_type' entity type).

Such an entity type may have its bundles defined in hook_entity_bundle_info()
implementations, or have them derived from plugins using the Entity API contrib
module
's bundle plugins functionality.

The handlers define a route that lists the bundles, and a dummy route for each
bundle for Field UI module to hang its routes off.

For each of these cases, the module provides:

  • a route provider handler
  • an entity links handler
  • where required, a controller for any routes that are defined.

Requirements

This module expects the patch at https://www.drupal.org/project/drupal/issues/2976861 to be applied in order to provide menu, task, and action links. The routes will work without it, however.

Ask your assistant about Entity admin handlers

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

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
4
Tracked since
Mar 2023
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 2
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
8.x-1.0-beta8 Pre-release 8–11 May 14, 2025
8.x-1.x-dev Dev 8–11 May 14, 2025
8.x-1.0-beta7 Pre-release 8–11 Apr 10, 2024
8.x-1.0-beta6 Pre-release 8–10 Mar 7, 2023