dubbot-1.0.0/dubbot.install

dubbot.install
<?php

/**
 * @file
 * Update and install hooks for DubBot module.
 */

use Drupal\dubbot\RequirementsHandler;

/**
 * Implements hook_requirements().
 */
function dubbot_requirements($phase) {
  if ($phase !== 'runtime') {
    return [];
  }

  return \Drupal::classResolver(RequirementsHandler::class)
    ->requirements($phase);
}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc