class StandardHooks

Same name and namespace in other branches
  1. 11.x core/profiles/standard/src/Hook/StandardHooks.php \Drupal\standard\Hook\StandardHooks

Hook implementations for the Standard installation profile.

Hierarchy

Expanded class hierarchy of StandardHooks

File

core/profiles/standard/src/Hook/StandardHooks.php, line 10

Namespace

Drupal\standard\Hook
View source
class StandardHooks {
  
  /**
   * Implements hook_theme().
   */
  public function theme() : array {
    return [
      'standard_welcome_page' => [
        'variables' => [
          'attributes' => [],
        ],
      ],
    ];
  }

}

Members

Title Sort descending Modifiers Object type Summary
StandardHooks::theme public function Implements hook_theme().

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.