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