function tour_tour_presave in Drupal 9
Implements hook_ENTITY_TYPE_presave() for tour entities.
@todo https://www.drupal.org/i/3195823 Remove once deprecated properties are no longer supported.
File
- core/
modules/ tour/ tour.module, line 124 - Main functions of the module.
Code
function tour_tour_presave(Tour $tour) {
_tour_update_joyride($tour);
}