function menu_link_content_path_alias_insert

Same name in other branches
  1. 9 core/modules/menu_link_content/menu_link_content.module \menu_link_content_path_alias_insert()
  2. 8.9.x core/modules/menu_link_content/menu_link_content.module \menu_link_content_path_alias_insert()
  3. 10 core/modules/menu_link_content/menu_link_content.module \menu_link_content_path_alias_insert()

Implements hook_ENTITY_TYPE_insert() for 'path_alias'.

File

core/modules/menu_link_content/menu_link_content.module, line 56

Code

function menu_link_content_path_alias_insert(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.