module_runtime_requirements.install

File

core/modules/system/tests/modules/module_runtime_requirements/module_runtime_requirements.install

View source
<?php


/**
 * @file
 * Install hooks for the runtime requirements test module.
 */

declare (strict_types=1);
use Drupal\Core\Hook\Attribute\LegacyRequirementsHook;

/**
 * Implements hook_requirements()
 */
function module_runtime_requirements_requirements() : array {
  throw new \Exception('This is a legacy hook and must not be called');
}

Functions

Title Deprecated Summary
module_runtime_requirements_requirements Implements hook_requirements()

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