Tour::getModule

public Tour::getModule() Gets the module this tour belongs to. Return value string The module this tour belongs to. Overrides TourInterface::getModule File core/modules/tour/src/Entity/Tour.php, line 130 Class Tour Defines the configured tour entity. Namespace Drupal\tour\Entity Code public function getModule() { return $this->module; }

Tour::calculateDependencies

public Tour::calculateDependencies() Calculates dependencies and stores them in the dependency property. Return value $this Overrides ConfigEntityBase::calculateDependencies See also \Drupal\Core\Config\Entity\ConfigDependencyManager File core/modules/tour/src/Entity/Tour.php, line 171 Class Tour Defines the configured tour entity. Namespace Drupal\tour\Entity Code public function calculateDependencies() { parent::calculateDependencies(); foreach ($this->tipsCollection as $in

Tour::$tipsCollection

Holds the collection of tips that are attached to this tour. Type: \Drupal\tour\TipsPluginCollection File core/modules/tour/src/Entity/Tour.php, line 76 Class Tour Defines the configured tour entity. Namespace Drupal\tour\Entity Code protected $tipsCollection;

Tour::$tips

The array of plugin config, only used for export and to populate the $tipsCollection. Type: array File core/modules/tour/src/Entity/Tour.php, line 83 Class Tour Defines the configured tour entity. Namespace Drupal\tour\Entity Code protected $tips = array();

Tour::$routes

The routes on which this tour should be displayed. Type: array File core/modules/tour/src/Entity/Tour.php, line 62 Class Tour Defines the configured tour entity. Namespace Drupal\tour\Entity Code protected $routes = array();

Tour::$module

The module which this tour is assigned to. Type: string File core/modules/tour/src/Entity/Tour.php, line 48 Class Tour Defines the configured tour entity. Namespace Drupal\tour\Entity Code protected $module;

Tour::$label

The label of the tour. Type: string File core/modules/tour/src/Entity/Tour.php, line 55 Class Tour Defines the configured tour entity. Namespace Drupal\tour\Entity Code protected $label;

Tour::$keyedRoutes

The routes on which this tour should be displayed, keyed by route id. Type: array File core/modules/tour/src/Entity/Tour.php, line 69 Class Tour Defines the configured tour entity. Namespace Drupal\tour\Entity Code protected $keyedRoutes;

Tour::$id

The name (plugin ID) of the tour. Type: string File core/modules/tour/src/Entity/Tour.php, line 41 Class Tour Defines the configured tour entity. Namespace Drupal\tour\Entity Code protected $id;

tour.module

Main functions of the module. File core/modules/tour/tour.module Functions Name Description tour_help Implements hook_help(). tour_page_bottom Implements hook_page_bottom(). tour_toolbar Implements hook_toolbar(). tour_tour_insert Implements hook_ENTITY_TYPE_insert() for tour entities. tour_tour_update Implements hook_ENTITY_TYPE_update() for tour entities.