- Issue created by @Anybody
Postponed on 📌 Implement a central point to override the raw page heading (h1) (e.g. hook_page_heading_alter()) Active
Inside ✨ Submodule to override the (visible) page title ("metatag_page_title") Active we originally proposed to implement this issue as an official submodule. In development, we found out, that we can't easily override the raw page title, but instead need to overwrite the rendered page title (with all its child elements and classes coming from the theme's twig template). This led us to postpone the issue and implement it as a "dirty" workaround module for now.
Once there is a central point in drupal core, to override the raw page title again, we can continue that issue and see if we can fit it in as an official metatag submodule.
See
📌
Implement a central point to override the raw page heading (h1) (e.g. hook_page_heading_alter())
Active
.
Currently, we do all we can after investigating possible solutions for hours!
If someone desperately needs the original title and its classes to be untouched, try node_title_ps module eventually, as it now keeps the original title: ✨ Use a multidimensional render array to keep the original title and prefix / suffix it Fixed
Postponed
1.0
Code