function tour_tour_update in Drupal 8
Same name and namespace in other branches
- 9 core/modules/tour/tour.module \tour_tour_update()
- 10 core/modules/tour/tour.module \tour_tour_update()
Implements hook_ENTITY_TYPE_update() for tour entities.
File
- core/
modules/ tour/ tour.module, line 114 - Main functions of the module.
Code
function tour_tour_update($entity) {
\Drupal::service('plugin.manager.tour.tip')
->clearCachedDefinitions();
}