function tour_tour_insert
Same name in other branches
- 8.9.x core/modules/tour/tour.module \tour_tour_insert()
- 10 core/modules/tour/tour.module \tour_tour_insert()
- 11.x core/modules/tour/tour.module \tour_tour_insert()
Implements hook_ENTITY_TYPE_insert() for tour entities.
File
-
core/
modules/ tour/ tour.module, line 107
Code
function tour_tour_insert($entity) {
\Drupal::service('plugin.manager.tour.tip')->clearCachedDefinitions();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.