StandardHooks.php

Same filename and directory in other branches
  1. 11.x core/profiles/standard/src/Hook/StandardHooks.php

Namespace

Drupal\standard\Hook

File

core/profiles/standard/src/Hook/StandardHooks.php

View source
<?php

namespace Drupal\standard\Hook;

use Drupal\Core\Hook\Attribute\Hook;

/**
 * Hook implementations for the Standard installation profile.
 */
class StandardHooks {
  
  /**
   * Implements hook_theme().
   */
  public function theme() : array {
    return [
      'standard_welcome_page' => [
        'variables' => [
          'attributes' => [],
        ],
      ],
    ];
  }

}

Classes

Title Deprecated Summary
StandardHooks Hook implementations for the Standard installation profile.

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