function tour_post_update_joyride_selectors_to_selector_property in Drupal 9
Convert Joyride selectors to `selector` property.
See also
File
- core/
modules/ tour/ tour.post_update.php, line 16 - Post update functions for Tour.
Code
function tour_post_update_joyride_selectors_to_selector_property(array &$sandbox = NULL) {
$config_entity_updater = \Drupal::classResolver(ConfigEntityUpdater::class);
$config_entity_updater
->update($sandbox, 'tour', function (Tour $tour) {
return _tour_update_joyride($tour, FALSE);
});
}