We could simplify the way of determining the asset route via `@current_route_match` service.
I'm facing an issue when observer does nothing when no DOM changes happens on page load.
Usage of MutationObserver
is a great option here, but shouldn't bindAjaxLinks()
be called anyway, so we'll have processed .use-ajax
links at the page loaded stage and on DOM mutation level?
This issue has been resolved in 4.2.4 version, but if you can't update for some reason, here is the patch that fixes this deprecation warning
Metatags from this module will be applied for webform page iteself (click View on any webform at /admin/structure/webform).
@fishfree, could you please clarify what component level means here?
a.kovrigin β created an issue.
a.kovrigin β created an issue.
a.kovrigin β created an issue.
a.kovrigin β created an issue.
a.kovrigin β made their first commit to this issueβs fork.
Another way to fix this is to apply once() for the links instead of body
@batkor did a great job here, thanks a lot!
But there is an issue: if you open two tabs in browser with different node's edit form and try to edit the metatags from the first tab and then edit metatagds on the second tab, the values in the second tab's modal will be the same as the first one.
This patch fixes this issue.
It can be a situation, when there is no roles key in $form['account'] array on form submission which causes the fatal error.
The patch fixes the issue.
The provided patch allows to use markup for flag messages
It is a great idea to notice content managers about this behaviour.
The following are not actually a security but general advices:
- You can simply use MODULENAME_form_node_form_alter() here
- I'm pretty sure that entity can be retrived with $form_state->getFormObject()->getEntity() here
- If you use setErrorByName() method you should provide the actual form element key for the first parameter
- In case when $original_alias == $alias your method returns nothing (void). You might consider the approach when your method ends with
return $original_alias != $alias;
so you won't need to use isset() in the validation function - I belive you would like to change the class description :)
@KarimBou you are able to translate webform metatags just like any other on /admin/config/search/metatag
Here is the patch fixes Drupal 10 compatibility issues
The attached patch includes all fixes for Drupal 10 compatibility
Proivded patch fixes compatibility issues
a.kovrigin β created an issue.
a.kovrigin β created an issue.
a.kovrigin β made their first commit to this issueβs fork.