function tour_tour_insert
tour_tour_insert($entity)
Implements hook_ENTITY_TYPE_insert() for tour entities.
File
- core/modules/tour/tour.module, line 104
- Main functions of the module.
Code
function tour_tour_insert($entity) { \Drupal::service('plugin.manager.tour.tip')->clearCachedDefinitions(); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!modules!tour!tour.module/function/tour_tour_insert/8.1.x