function PgsqlRequirementsHooks::checkRequirements

Same name and namespace in other branches
  1. 11.x core/modules/pgsql/src/Hook/PgsqlRequirementsHooks.php \Drupal\pgsql\Hook\PgsqlRequirementsHooks::checkRequirements()

Implements hook_update_requirements().

Implements hook_runtime_requirements().

Attributes

#[Hook('update_requirements')] #[Hook('runtime_requirements')]

File

core/modules/pgsql/src/Hook/PgsqlRequirementsHooks.php, line 18

Class

PgsqlRequirementsHooks
Hook implementations for pgsql module.

Namespace

Drupal\pgsql\Hook

Code

public function checkRequirements() : array {
  // We want the identical check from the install time requirements.
  return PgsqlRequirements::getRequirements();
}

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