Mercurial > hg > isophonics-drupal-site
view core/profiles/testing_requirements/testing_requirements.install @ 19:fa3358dc1485 tip
Add ndrum files
author | Chris Cannam |
---|---|
date | Wed, 28 Aug 2019 13:14:47 +0100 |
parents | 129ea1e6d783 |
children |
line wrap: on
line source
<?php /** * @file * Install hooks for test profile. */ /** * Implements hook_requirements(). */ function testing_requirements_requirements($phase) { $requirements = []; if ($phase === 'install') { $requirements['testing_requirements'] = [ 'title' => t('Testing requirements'), 'severity' => REQUIREMENT_ERROR, 'description' => t('Testing requirements failed requirements.'), ]; } return $requirements; }