You are here

function tour_tour_insert in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/tour/tour.module \tour_tour_insert()
  2. 10 core/modules/tour/tour.module \tour_tour_insert()

Implements hook_ENTITY_TYPE_insert() for tour entities.

File

core/modules/tour/tour.module, line 107
Main functions of the module.

Code

function tour_tour_insert($entity) {
  \Drupal::service('plugin.manager.tour.tip')
    ->clearCachedDefinitions();
}