- Merge request !1Draft: Helper function (mocked) te check settings for removing block β (Closed) created by mlncn
- πΊπΈUnited States mlncn Minneapolis, MN, USA
Welp, there hasn't been a lot of interest in this over the years, it seems.
It should be possible to do this same thing without adding anything to Exclude Node Title, and without any custom code, by configuring Entity Field Condition on the page title block to not show for any content types you enable Exclude Node Title on. Using this module:
https://www.drupal.org/project/entity_field_condition β
Of course, at that point, you can replace Exclude Node Title with a boolean field and be done with it.
-
smustgrave β
committed 2fc60642 on 2.0.x
Issue #2624734 by mlncn: page-title.html.twig still show the wrapper...
-
smustgrave β
committed 2fc60642 on 2.0.x
- πΊπΈUnited States smustgrave
Took part of the fix and just using the hook part.
FYI did drop the permission use exclude node title :)
Automatically closed - issue fixed for 2 weeks with no activity.
- Status changed to Fixed
about 2 months ago 12:08pm 13 May 2025 - πΊπΈUnited States zipymonkey Durham, NH
The check in
exclude_node_title_block_view_page_title_block_alter()
should use isTitleExcluded() or else the h1 page-title wrapper is not excluded for content types when the "All nodes..." option is selected.I added a patch to make this change.