You are here

function token_menu_link_content_presave in Token 8

Implements hook_ENTITY_TYPE_presave() for menu_link_content.

File

./token.module, line 769
Enhances the token API in core: adds a browseable UI, missing tokens, etc.

Code

function token_menu_link_content_presave(MenuLinkContentInterface $menu_link_content) {
  drupal_static_reset('token_menu_link_load_all_parents');
}