Problem/Motivation

In some cases it's not enough to be able to define a prefix / suffix per entity type, for example if the prefix / suffix should differ per entity (override) or you can't define the prefix / suffix at entity type level, because the entity type is widely used, but you need an individual prefix / suffix per entity.

Entities are content, while the current functionality is implemented at config entity level.

Let's first look for similar modules already implementing this to find the best possible solution.
Candidates:
https://www.drupal.org/project/node_display_title (discussable implementation)
... ?

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Comments

Anybody created an issue. See original summary.

anybody’s picture

Thinking about this a bit more, I think we should implement this as a Metatag extending module to use it's well known functionality and ecosystem. See #3455655: Metatag contrib module to override the (visible) page title ("metatag_page_heading")

Then we could deprecate this module in favor of that and might not only solve this, but also have features like cross-entity-support out of the box.

anybody’s picture

Finally there's an initial implementation for such a module now: https://www.drupal.org/project/metatag_page_heading

But I'll leave this open for the future due to the different approaches.