/** * Implements hook_tour_tips_info_alter(). */ function {{ machine_name }}_tour_tips_info_alter(&$info) { // Swap out the class used for this tip plugin. if (isset($info['text'])) { $info['class'] = 'Drupal\mymodule\Plugin\tour\tip\MyCustomTipPlugin'; } }