How to set metatags on entity edit forms?

Created on 14 August 2024, about 1 year ago

Problem/Motivation

I am trying to alter the metatags (title) on the user edit form. Specifically on a form mode alternative (form mode manager module) for the default user edit form (although the default doesn't work either).

In the .api file i see 3 hooks that sound like they might be of use but none of these are hit:
function hook_metatag_route_entity(RouteMatchInterface $route_match) {
function hook_metatags_alter(array &$metatags, array &$context) {
function hook_metatags_attachments_alter(array &$metatag_attachments) {

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ’¬ Support request
Status

Active

Version

1.26

Component

Documentation

Created by

πŸ‡¨πŸ‡¦Canada liquidcms

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024