You are here

function menu_entity_index_entity_insert in Menu Entity Index 8

Implements hook_entity_insert().

File

./menu_entity_index.module, line 103
Main Menu Entity Index module file.

Code

function menu_entity_index_entity_insert($entity) {
  \Drupal::service('menu_entity_index.tracker')
    ->updateEntity($entity);
}