hook_tour_tips_info_alter(&$info)
Allow modules to alter tip plugin definitions.
array $info: The array of tip plugin definitions, keyed by plugin ID.
function hook_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'; } }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!modules!tour!tour.api.php/function/hook_tour_tips_info_alter/8.1.x