You are here

public function Tour::getModule in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/tour/src/Entity/Tour.php \Drupal\tour\Entity\Tour::getModule()
  2. 9 core/modules/tour/src/Entity/Tour.php \Drupal\tour\Entity\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 136

Class

Tour
Defines the configured tour entity.

Namespace

Drupal\tour\Entity

Code

public function getModule() {
  return $this->module;
}