You are here

function tour_tour_update in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/tour/tour.module \tour_tour_update()

Implements hook_ENTITY_TYPE_update() for tour entities.

File

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

Code

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