Skip to content
Snippets Groups Projects
Commit acb41b77 authored by catch's avatar catch
Browse files

Issue #3225947 by larowlan, longwave: Remove redundant...

Issue #3225947 by larowlan, longwave: Remove redundant entity_reference.install and simpletest_install()
parent 3071938a
Branches
Tags
17 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!1896Issue #2940605: Can only intentionally re-render an entity with references 20 times,!1101Issue #2412669 by claudiu.cristea, Julfabre, sidharrell, catch, daffie,...,!1039Issue #2556069 by claudiu.cristea, bnjmnm, lauriii, pfrenssen, Tim Bozeman,...,!10223132456: Fix issue where views instances are emptied before an ajax request is complete,!1012Issue #3226887: Hreflang on non-canonical content pages,!872Draft: Issue #3221319: Race condition when creating menu links and editing content deletes menu links,!594Put each entity type table into a details element on admin/config/regional/content-language,!579Issue #2230909: Simple decimals fail to pass validation,!560Move callback classRemove outside of the loop,!555Issue #3202493,!512Issue #3207771: Menu UI node type form documentation points to non-existent function,!485Sets the autocomplete attribute for username/password input field on login form.,!449Issue #2784233: Allow multiple vocabularies in the taxonomy filter,!231Issue #2671162: summary text wysiwyg patch working fine on 9.2.0-dev,!43Resolve #3173180: Add UI for 'loading' html attribute to images,!30Issue #3182188: Updates composer usage to point at ./vendor/bin/composer
<?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;
}
......@@ -11,25 +11,6 @@
use Drupal\Core\Test\TestDatabase;
use Symfony\Component\Console\Output\NullOutput;
/**
* Implements hook_requirements().
*/
function simpletest_requirements($phase) {
$requirements = [];
// Notify about the module being deprecated.
if ($phase == 'install' || $phase == 'runtime') {
$requirements['simpletest'] = [
'title' => t('SimpleTest'),
'severity' => REQUIREMENT_ERROR,
'description' => t('SimpleTest has been removed from Drupal 9.0.0 and can no longer be installed. A contributed module is available for those who wish to continue using SimpleTest during the transition from Drupal 8 to 9. <a href=":change-record">See the change record for more information</a>.', [
':change-record' => 'https://www.drupal.org/node/3091784',
]),
];
}
return $requirements;
}
/**
* Implements hook_schema().
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment