function tour_tour_presave

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

Code

function tour_tour_presave(Tour $tour) {
    _tour_update_joyride($tour);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.