PgsqlRequirementsHooks.php

Namespace

Drupal\pgsql\Hook

File

core/modules/pgsql/src/Hook/PgsqlRequirementsHooks.php

View source
<?php

namespace Drupal\pgsql\Hook;

use Drupal\Core\Hook\Attribute\Hook;
use Drupal\pgsql\Install\Requirements\PgsqlRequirements;

/**
 * Hook implementations for pgsql module.
 */
class PgsqlRequirementsHooks {
  
  /**
   * Implements hook_update_requirements().
   *
   * Implements hook_runtime_requirements().
   */
  public function checkRequirements() : array {
    // We want the identical check from the install time requirements.
    return PgsqlRequirements::getRequirements();
  }

}

Classes

Title Deprecated Summary
PgsqlRequirementsHooks Hook implementations for pgsql module.

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