diff --git a/core/MAINTAINERS.txt b/core/MAINTAINERS.txt index 9408d57..c0c7175 100644 --- a/core/MAINTAINERS.txt +++ b/core/MAINTAINERS.txt @@ -316,10 +316,6 @@ Email module Editor module - Wim Leers 'Wim Leers' https://www.drupal.org/u/wim-leers -Entity Reference module -- Amitai Burstein 'Amitaibu' https://www.drupal.org/u/amitaibu -- Andrei Mateescu 'amateescu' https://www.drupal.org/u/amateescu - Field UI module - Yves Chedemois 'yched' https://www.drupal.org/u/yched - Kristof De Jaeger 'swentel' https://www.drupal.org/u/swentel diff --git a/core/composer.json b/core/composer.json index 26938e3..f0f8a1f 100644 --- a/core/composer.json +++ b/core/composer.json @@ -74,7 +74,6 @@ "drupal/datetime": "self.version", "drupal/dblog": "self.version", "drupal/editor": "self.version", - "drupal/entity_reference": "self.version", "drupal/field": "self.version", "drupal/field_ui": "self.version", "drupal/file": "self.version", diff --git a/core/modules/aggregator/src/Tests/AggregatorTitleTest.php b/core/modules/aggregator/src/Tests/AggregatorTitleTest.php index cfa9975..d599d9a 100644 --- a/core/modules/aggregator/src/Tests/AggregatorTitleTest.php +++ b/core/modules/aggregator/src/Tests/AggregatorTitleTest.php @@ -24,7 +24,7 @@ class AggregatorTitleTest extends KernelTestBase { * * @var array */ - public static $modules = array('file', 'field', 'options', 'aggregator', 'entity_reference'); + public static $modules = ['file', 'field', 'options', 'aggregator']; /** * The field name that is tested. diff --git a/core/modules/book/src/Tests/Migrate/d6/MigrateBookConfigsTest.php b/core/modules/book/src/Tests/Migrate/d6/MigrateBookConfigsTest.php index 9ae1030..a4932c5 100644 --- a/core/modules/book/src/Tests/Migrate/d6/MigrateBookConfigsTest.php +++ b/core/modules/book/src/Tests/Migrate/d6/MigrateBookConfigsTest.php @@ -24,7 +24,7 @@ class MigrateBookConfigsTest extends MigrateDrupal6TestBase { * * @var array */ - public static $modules = array('book', 'system', 'node', 'field', 'text', 'entity_reference'); + public static $modules = ['book', 'system', 'node', 'field', 'text']; /** * {@inheritdoc} diff --git a/core/modules/book/src/Tests/Migrate/d6/MigrateBookTest.php b/core/modules/book/src/Tests/Migrate/d6/MigrateBookTest.php index ea7846e..7c4ead6 100644 --- a/core/modules/book/src/Tests/Migrate/d6/MigrateBookTest.php +++ b/core/modules/book/src/Tests/Migrate/d6/MigrateBookTest.php @@ -17,7 +17,7 @@ */ class MigrateBookTest extends MigrateDrupal6TestBase { - public static $modules = array('book', 'system', 'node', 'field', 'text', 'entity_reference', 'user'); + public static $modules = ['book', 'system', 'node', 'field', 'text', 'user']; /** * {@inheritdoc} diff --git a/core/modules/entity_reference/entity_reference.info.yml b/core/modules/entity_reference/entity_reference.info.yml new file mode 100644 index 0000000..0ff6b02 --- /dev/null +++ b/core/modules/entity_reference/entity_reference.info.yml @@ -0,0 +1,8 @@ +name: 'Entity Reference' +type: module +description: 'Provides a field that can reference other entities.' +package: Field types +version: VERSION +core: 8.x +dependencies: + - field diff --git a/core/modules/node/src/Tests/Migrate/d6/MigrateNodeTestBase.php b/core/modules/node/src/Tests/Migrate/d6/MigrateNodeTestBase.php index f011a90..24487ef 100644 --- a/core/modules/node/src/Tests/Migrate/d6/MigrateNodeTestBase.php +++ b/core/modules/node/src/Tests/Migrate/d6/MigrateNodeTestBase.php @@ -16,7 +16,7 @@ */ abstract class MigrateNodeTestBase extends MigrateDrupal6TestBase { - static $modules = array('node', 'text', 'filter', 'entity_reference'); + public static $modules = ['node', 'text', 'filter']; /** * {@inheritdoc} diff --git a/core/modules/taxonomy/src/Tests/Migrate/d6/MigrateTermNodeTestBase.php b/core/modules/taxonomy/src/Tests/Migrate/d6/MigrateTermNodeTestBase.php index 2b9708d..05959d6 100644 --- a/core/modules/taxonomy/src/Tests/Migrate/d6/MigrateTermNodeTestBase.php +++ b/core/modules/taxonomy/src/Tests/Migrate/d6/MigrateTermNodeTestBase.php @@ -21,7 +21,7 @@ /** * {@inheritdoc} */ - static $modules = array('node', 'taxonomy', 'text', 'filter', 'entity_reference'); + public static $modules = ['node', 'taxonomy', 'text', 'filter']; /** * {@inheritdoc} diff --git a/core/modules/taxonomy/src/Tests/Migrate/d6/MigrateVocabularyEntityDisplayTest.php b/core/modules/taxonomy/src/Tests/Migrate/d6/MigrateVocabularyEntityDisplayTest.php index 5c266e6..14760f1 100644 --- a/core/modules/taxonomy/src/Tests/Migrate/d6/MigrateVocabularyEntityDisplayTest.php +++ b/core/modules/taxonomy/src/Tests/Migrate/d6/MigrateVocabularyEntityDisplayTest.php @@ -21,7 +21,7 @@ class MigrateVocabularyEntityDisplayTest extends MigrateDrupal6TestBase { * * @var array */ - static $modules = array('field', 'node', 'taxonomy', 'text', 'entity_reference'); + public static $modules = ['field', 'node', 'taxonomy', 'text']; /** * {@inheritdoc} diff --git a/core/modules/taxonomy/src/Tests/Migrate/d6/MigrateVocabularyEntityFormDisplayTest.php b/core/modules/taxonomy/src/Tests/Migrate/d6/MigrateVocabularyEntityFormDisplayTest.php index 1691438..748c0b0 100644 --- a/core/modules/taxonomy/src/Tests/Migrate/d6/MigrateVocabularyEntityFormDisplayTest.php +++ b/core/modules/taxonomy/src/Tests/Migrate/d6/MigrateVocabularyEntityFormDisplayTest.php @@ -21,7 +21,7 @@ class MigrateVocabularyEntityFormDisplayTest extends MigrateDrupal6TestBase { * * @var array */ - static $modules = array('node', 'taxonomy', 'field', 'text', 'entity_reference'); + public static $modules = ['node', 'taxonomy', 'field', 'text']; /** * {@inheritdoc} diff --git a/core/modules/taxonomy/src/Tests/Migrate/d6/MigrateVocabularyFieldInstanceTest.php b/core/modules/taxonomy/src/Tests/Migrate/d6/MigrateVocabularyFieldInstanceTest.php index 0154063..ee84006 100644 --- a/core/modules/taxonomy/src/Tests/Migrate/d6/MigrateVocabularyFieldInstanceTest.php +++ b/core/modules/taxonomy/src/Tests/Migrate/d6/MigrateVocabularyFieldInstanceTest.php @@ -23,7 +23,7 @@ class MigrateVocabularyFieldInstanceTest extends MigrateDrupal6TestBase { * * @var array */ - static $modules = array('node', 'field', 'taxonomy', 'text', 'entity_reference'); + public static $modules = ['node', 'field', 'taxonomy', 'text']; /** * {@inheritdoc} diff --git a/core/modules/taxonomy/src/Tests/Migrate/d6/MigrateVocabularyFieldTest.php b/core/modules/taxonomy/src/Tests/Migrate/d6/MigrateVocabularyFieldTest.php index 9859d59..90c88f0 100644 --- a/core/modules/taxonomy/src/Tests/Migrate/d6/MigrateVocabularyFieldTest.php +++ b/core/modules/taxonomy/src/Tests/Migrate/d6/MigrateVocabularyFieldTest.php @@ -22,7 +22,7 @@ class MigrateVocabularyFieldTest extends MigrateDrupal6TestBase { * * @var array */ - static $modules = array('node', 'taxonomy', 'field', 'text', 'entity_reference'); + static $modules = ['node', 'taxonomy', 'field', 'text']; /** * {@inheritdoc} diff --git a/core/modules/taxonomy/src/Tests/Views/TaxonomyIndexTidUiTest.php b/core/modules/taxonomy/src/Tests/Views/TaxonomyIndexTidUiTest.php index 9d75f98..394e0f5 100644 --- a/core/modules/taxonomy/src/Tests/Views/TaxonomyIndexTidUiTest.php +++ b/core/modules/taxonomy/src/Tests/Views/TaxonomyIndexTidUiTest.php @@ -36,7 +36,7 @@ class TaxonomyIndexTidUiTest extends UITestBase { * * @var array */ - public static $modules = array('node', 'taxonomy', 'taxonomy_test_views', 'entity_reference'); + public static $modules = ['node', 'taxonomy', 'taxonomy_test_views']; /** * A nested array of \Drupal\taxonomy\TermInterface objects.