entity_editor_tabs
Security covered
Entity Editor Tabs improves the text labels of tabs on entities, such as Node.
- ✨ If an entity uses Content Moderation, its 'View' and 'Latest version' tabs can be enhanced to display the state. For example 'View Published' and 'View latest Draft'.
- ✨ If an entity uses Layout-Builder-overrides, its 'Edit' tab is renamed to 'Edit metadata', and its 'Layout' tab is renamed to 'Edit content'.
- ✨ Re-orders tabs so previously labelled tabs are in View/Edit order: View, Latest version, Edit, Layout.
Works with any content entity supporting either content moderation or layout builder, such as Node. The content moderation tabs will show the state label as it is configured in the workflow.
Before module is enabledAfter module is enabled
Entity Operations
Entity operations are also updated for edit and layout links. Core does not provide a Layout entity operation out of the box, so you can use either custom code or a project like Layout Builder Operation Link.
Requirements
- Requires PHP 8.0 and above.
- Needs Content Moderation and/or Layout Builder to be installed.
V2 is compatible with Drupal 10.x, and is compatible with previous major versions.
V1 is compatible with Drupal 8x and 9.x.