From fdaf17f576c685740cfb48c561d8e0212575b756 Mon Sep 17 00:00:00 2001 From: catch Date: Thu, 21 Dec 2023 08:09:47 +0000 Subject: [PATCH] Issue #3405663 by smustgrave, quietone, larowlan: Remove Tour module from comments --- core/lib/Drupal/Core/Entity/entity.api.php | 1 - core/modules/locale/src/LocaleConfigManager.php | 3 +-- core/modules/tour/src/TourViewBuilder.php | 3 +++ 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/core/lib/Drupal/Core/Entity/entity.api.php b/core/lib/Drupal/Core/Entity/entity.api.php index 73c2f060dd6..2334b7f52c9 100644 --- a/core/lib/Drupal/Core/Entity/entity.api.php +++ b/core/lib/Drupal/Core/Entity/entity.api.php @@ -287,7 +287,6 @@ use Drupal\node\Entity\NodeType; * - hook_entity_build_defaults_alter() * * View builders for some types override these hooks, notably: - * - The Tour view builder does not invoke any hooks. * - The Block view builder invokes hook_block_view_alter() and * hook_block_view_BASE_BLOCK_ID_alter(). Note that in other view builders, * the view alter hooks are run later in the process. diff --git a/core/modules/locale/src/LocaleConfigManager.php b/core/modules/locale/src/LocaleConfigManager.php index bb265cbc8b0..9bde0a41009 100644 --- a/core/modules/locale/src/LocaleConfigManager.php +++ b/core/modules/locale/src/LocaleConfigManager.php @@ -661,8 +661,7 @@ class LocaleConfigManager { // Update active configuration copies of all prior shipped configuration if // they are still English. It is not enough to change configuration shipped // with the components just installed, because installing a component such - // as views or tour module may bring in default configuration from prior - // components. + // as views may bring in default configuration from prior components. $names = $this->getComponentNames(); foreach ($names as $name) { $config = $this->configFactory->reset($name)->getEditable($name); diff --git a/core/modules/tour/src/TourViewBuilder.php b/core/modules/tour/src/TourViewBuilder.php index f7226109ad3..83d5dd0a20c 100644 --- a/core/modules/tour/src/TourViewBuilder.php +++ b/core/modules/tour/src/TourViewBuilder.php @@ -8,6 +8,9 @@ use Drupal\Component\Utility\Html; /** * Provides a Tour view builder. + * + * Note: Does not invoke any alter hooks. In other view + * builders, the view alter hooks are run later in the process */ class TourViewBuilder extends EntityViewBuilder {