drupal/core/modules/entity_reference/entity_reference.install

27 lines
520 B
Plaintext

<?php
/**
* @file
* Entity Reference install functions.
*/
/**
* Implements hook_requirements().
*/
function entity_reference_requirements($phase) {
$requirements = [];
if ($phase === 'install') {
$requirements['entity_reference'] = [
'title' => t('Entity Reference: Deprecated'),
'description' => t('Entity Reference is deprecated, all functionality has been moved to Core.'),
'value' => \Drupal::VERSION,
'severity' => REQUIREMENT_ERROR,
];
}
return $requirements;
}