function MenuLinkContentHooks::pathAliasInsert
Implements hook_ENTITY_TYPE_insert() for 'path_alias'.
File
-
core/
modules/ menu_link_content/ src/ Hook/ MenuLinkContentHooks.php, line 67
Class
- MenuLinkContentHooks
- Hook implementations for menu_link_content.
Namespace
Drupal\menu_link_content\HookCode
public function pathAliasInsert(PathAliasInterface $path_alias) {
_menu_link_content_update_path_alias($path_alias->getAlias());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.