| EntityReferenceFormatterTest::$fieldName |
property |
core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceFormatterTest.php |
The name of the field used in this test. |
| EntityReferenceFormatterTest::$referencedEntity |
property |
core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceFormatterTest.php |
The entity to be referenced in this test. |
| EntityReferenceFormatterTest::$unsavedReferencedEntity |
property |
core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceFormatterTest.php |
An entity that is not yet saved to its persistent storage. |
| EntityReferenceFormatterTest::buildRenderArray |
function |
core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceFormatterTest.php |
Sets field values and returns a render array. |
| EntityReferenceFormatterTest::setUp |
function |
core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceFormatterTest.php |
|
| EntityReferenceFormatterTest::testAccess |
function |
core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceFormatterTest.php |
Assert inaccessible items don't change the data of the fields. |
| EntityReferenceFormatterTest::testCustomCacheTagFormatter |
function |
core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceFormatterTest.php |
Tests the merging of cache metadata. |
| EntityReferenceFormatterTest::testEntityFormatter |
function |
core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceFormatterTest.php |
Tests the entity formatter. |
| EntityReferenceFormatterTest::testEntityFormatterRecursiveRendering |
function |
core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceFormatterTest.php |
Tests the recursive rendering protection of the entity formatter. |
| EntityReferenceFormatterTest::testEntityReferenceRecursiveProtectionWithManyRenderedEntities |
function |
core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceFormatterTest.php |
Renders the same entity referenced from different places. |
| EntityReferenceFormatterTest::testIdFormatter |
function |
core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceFormatterTest.php |
Tests the ID formatter. |
| EntityReferenceFormatterTest::testLabelFormatter |
function |
core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceFormatterTest.php |
Tests the label formatter. |
| EntityReferenceIntegrationTest |
class |
core/modules/field/tests/src/Functional/EntityReference/EntityReferenceIntegrationTest.php |
Tests various Entity reference UI components. |
| EntityReferenceIntegrationTest.php |
file |
core/modules/field/tests/src/Functional/EntityReference/EntityReferenceIntegrationTest.php |
|
| EntityReferenceIntegrationTest::$bundle |
property |
core/modules/field/tests/src/Functional/EntityReference/EntityReferenceIntegrationTest.php |
The bundle used in this test. |
| EntityReferenceIntegrationTest::$defaultTheme |
property |
core/modules/field/tests/src/Functional/EntityReference/EntityReferenceIntegrationTest.php |
The theme to install as the default for testing. |
| EntityReferenceIntegrationTest::$entityType |
property |
core/modules/field/tests/src/Functional/EntityReference/EntityReferenceIntegrationTest.php |
The entity type used in this test. |
| EntityReferenceIntegrationTest::$fieldName |
property |
core/modules/field/tests/src/Functional/EntityReference/EntityReferenceIntegrationTest.php |
The name of the field used in this test. |
| EntityReferenceIntegrationTest::$modules |
property |
core/modules/field/tests/src/Functional/EntityReference/EntityReferenceIntegrationTest.php |
Modules to install. |
| EntityReferenceIntegrationTest::assertFieldValues |
function |
core/modules/field/tests/src/Functional/EntityReference/EntityReferenceIntegrationTest.php |
Asserts that the reference field values are correct. |
| EntityReferenceIntegrationTest::getTestEntities |
function |
core/modules/field/tests/src/Functional/EntityReference/EntityReferenceIntegrationTest.php |
Creates two content and two config test entities. |
| EntityReferenceIntegrationTest::setUp |
function |
core/modules/field/tests/src/Functional/EntityReference/EntityReferenceIntegrationTest.php |
|
| EntityReferenceIntegrationTest::testSupportedEntityTypesAndWidgets |
function |
core/modules/field/tests/src/Functional/EntityReference/EntityReferenceIntegrationTest.php |
Tests the entity reference field with all its supported field widgets. |
| EntityReferenceItem::calculateStorageDependencies |
function |
core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php |
Calculates dependencies for field items on the storage level. |
| EntityReferenceItemTest |
class |
core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php |
Tests the new entity API for the entity reference field type. |
| EntityReferenceItemTest.php |
file |
core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php |
|
| EntityReferenceItemTest::$entityStringId |
property |
core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php |
The test entity with a string ID. |
| EntityReferenceItemTest::$modules |
property |
core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php |
Modules to install. |
| EntityReferenceItemTest::$term |
property |
core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php |
The taxonomy term to test with. |
| EntityReferenceItemTest::$vocabulary |
property |
core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php |
The taxonomy vocabulary to test with. |
| EntityReferenceItemTest::setUp |
function |
core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php |
Sets up the test. |
| EntityReferenceItemTest::testAutocreateValidation |
function |
core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php |
Tests ValidReferenceConstraint with newly created and unsaved entities. |
| EntityReferenceItemTest::testConfigEntityReferenceItem |
function |
core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php |
Tests the entity reference field type for referencing config entities. |
| EntityReferenceItemTest::testContentEntityReferenceItem |
function |
core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php |
Tests the entity reference field type for referencing content entities. |
| EntityReferenceItemTest::testContentEntityReferenceItemWithStringId |
function |
core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php |
Tests referencing content entities with string IDs. |
| EntityReferenceItemTest::testEntityAutoCreate |
function |
core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php |
Tests entity auto create. |
| EntityReferenceItemTest::testEntitySaveOrder |
function |
core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php |
Tests saving order sequence doesn't matter. |
| EntityReferenceItemTest::testGenerateSampleValue |
function |
core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php |
Tests the ::generateSampleValue() method. |
| EntityReferenceItemTest::testGenerateSampleValueCircularReference |
function |
core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php |
Tests the ::generateSampleValue() method when it has a circular reference. |
| EntityReferenceItemTest::testSelectionHandlerSettings |
function |
core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php |
Tests that the 'handler' field setting stores the proper plugin ID. |
| EntityReferenceRdfaTest |
class |
core/modules/rdf/tests/src/Kernel/Field/EntityReferenceRdfaTest.php |
Tests the RDFa output of the entity reference field formatter. |
| EntityReferenceRdfaTest.php |
file |
core/modules/rdf/tests/src/Kernel/Field/EntityReferenceRdfaTest.php |
|
| EntityReferenceRdfaTest::$bundle |
property |
core/modules/rdf/tests/src/Kernel/Field/EntityReferenceRdfaTest.php |
The bundle used in this test. |
| EntityReferenceRdfaTest::$entityType |
property |
core/modules/rdf/tests/src/Kernel/Field/EntityReferenceRdfaTest.php |
The entity type used in this test. |
| EntityReferenceRdfaTest::$fieldType |
property |
core/modules/rdf/tests/src/Kernel/Field/EntityReferenceRdfaTest.php |
The machine name of the field type to test. |
| EntityReferenceRdfaTest::$modules |
property |
core/modules/rdf/tests/src/Kernel/Field/EntityReferenceRdfaTest.php |
Modules to enable. |
| EntityReferenceRdfaTest::$targetEntity |
property |
core/modules/rdf/tests/src/Kernel/Field/EntityReferenceRdfaTest.php |
The term for testing. |
| EntityReferenceRdfaTest::setUp |
function |
core/modules/rdf/tests/src/Kernel/Field/EntityReferenceRdfaTest.php |
Set the default field storage backend for fields created during tests. |
| EntityReferenceRdfaTest::testAllFormatters |
function |
core/modules/rdf/tests/src/Kernel/Field/EntityReferenceRdfaTest.php |
Tests all the entity reference formatters. |
| EntityReferenceRelationshipTest |
class |
core/modules/field/tests/src/Kernel/EntityReference/Views/EntityReferenceRelationshipTest.php |
Tests entity reference relationship data. |