function tour_tour_update

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

Implements hook_ENTITY_TYPE_update() for tour entities.

File

core/modules/tour/tour.module, line 115

Code

function tour_tour_update($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.