Issue #3405663 by smustgrave, quietone, larowlan: Remove Tour module from comments

merge-requests/5838/head
catch 2023-12-21 08:09:47 +00:00
parent e578a5526b
commit fdaf17f576
3 changed files with 4 additions and 3 deletions

View File

@ -287,7 +287,6 @@ use Drupal\node\Entity\NodeType;
* - hook_entity_build_defaults_alter() * - hook_entity_build_defaults_alter()
* *
* View builders for some types override these hooks, notably: * 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 * - The Block view builder invokes hook_block_view_alter() and
* hook_block_view_BASE_BLOCK_ID_alter(). Note that in other view builders, * hook_block_view_BASE_BLOCK_ID_alter(). Note that in other view builders,
* the view alter hooks are run later in the process. * the view alter hooks are run later in the process.

View File

@ -661,8 +661,7 @@ class LocaleConfigManager {
// Update active configuration copies of all prior shipped configuration if // Update active configuration copies of all prior shipped configuration if
// they are still English. It is not enough to change configuration shipped // they are still English. It is not enough to change configuration shipped
// with the components just installed, because installing a component such // with the components just installed, because installing a component such
// as views or tour module may bring in default configuration from prior // as views may bring in default configuration from prior components.
// components.
$names = $this->getComponentNames(); $names = $this->getComponentNames();
foreach ($names as $name) { foreach ($names as $name) {
$config = $this->configFactory->reset($name)->getEditable($name); $config = $this->configFactory->reset($name)->getEditable($name);

View File

@ -8,6 +8,9 @@ use Drupal\Component\Utility\Html;
/** /**
* Provides a Tour view builder. * 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 { class TourViewBuilder extends EntityViewBuilder {