Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 10.3.x for all
  5. Other projects
Title Object type File name Summary
EntityReferenceFieldTranslatedReferenceViewTest::enableTranslation function core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFieldTranslatedReferenceViewTest.php Enables translations where it needed.
EntityReferenceFieldTranslatedReferenceViewTest::setUp function core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFieldTranslatedReferenceViewTest.php
EntityReferenceFieldTranslatedReferenceViewTest::setUpContentTypes function core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFieldTranslatedReferenceViewTest.php Create content types.
EntityReferenceFieldTranslatedReferenceViewTest::setUpEntityReferenceField function core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFieldTranslatedReferenceViewTest.php Adds term reference field for the article content type.
EntityReferenceFieldTranslatedReferenceViewTest::setUpLanguages function core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFieldTranslatedReferenceViewTest.php Adds additional languages.
EntityReferenceFieldTranslatedReferenceViewTest::testEntityReferenceDisplay function core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFieldTranslatedReferenceViewTest.php Tests if the entity is displayed in an entity reference field.
EntityReferenceFileUploadTest class core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFileUploadTest.php Tests an autocomplete widget with file upload.
EntityReferenceFileUploadTest.php file core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFileUploadTest.php
EntityReferenceFileUploadTest::$defaultTheme property core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFileUploadTest.php The theme to install as the default for testing.
EntityReferenceFileUploadTest::$modules property core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFileUploadTest.php Modules to install.
EntityReferenceFileUploadTest::$nodeId property core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFileUploadTest.php Node id.
EntityReferenceFileUploadTest::$referencedType property core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFileUploadTest.php The name of a content type that will be referenced by $referencingType.
EntityReferenceFileUploadTest::$referencingType property core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFileUploadTest.php The name of a content type that will reference $referencedType.
EntityReferenceFileUploadTest::setUp function core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFileUploadTest.php
EntityReferenceFileUploadTest::testFileUpload function core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFileUploadTest.php Tests that the autocomplete input element does not cause ajax fatal.
EntityReferenceFormatterBase class core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceFormatterBase.php Parent plugin for entity reference formatters.
EntityReferenceFormatterBase.php file core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceFormatterBase.php
EntityReferenceFormatterBase::checkAccess function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceFormatterBase.php Checks access to the given entity.
EntityReferenceFormatterBase::getEntitiesToView function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceFormatterBase.php Returns the referenced entities for display.
EntityReferenceFormatterBase::needsEntityLoad function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceFormatterBase.php Returns whether the entity referenced by an item needs to be loaded.
EntityReferenceFormatterBase::prepareView function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceFormatterBase.php Loads the entities referenced in that field across all the entities being
viewed.
EntityReferenceFormatterBase::view function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceFormatterBase.php
EntityReferenceFormatterTest class core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceFormatterTest.php Tests the formatters functionality.
EntityReferenceFormatterTest.php file core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceFormatterTest.php
EntityReferenceFormatterTest::$bundle property core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceFormatterTest.php The bundle used in this test.
EntityReferenceFormatterTest::$entityType property core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceFormatterTest.php The entity type used in this test.
EntityReferenceFormatterTest::$fieldName property core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceFormatterTest.php The name of the field used in this test.
EntityReferenceFormatterTest::$nonCacheableViewMode property core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceFormatterTest.php The non cacheable view mode.
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::createNonCacheableViewMode function core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceFormatterTest.php Creates a non cacheable view mode.
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::testEntityFormatterIterativeRendering function core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceFormatterTest.php Tests that iterative rendering is allowed by recursive render protection.
EntityReferenceFormatterTest::testEntityFormatterRecursiveRendering function core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceFormatterTest.php Tests the recursive rendering protection of the entity formatter.
EntityReferenceFormatterTest::testEntityReferenceRecursionProtectionWithRepeatedReferencingEntity function core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceFormatterTest.php Tests multiple renderings of an entity that references another.
EntityReferenceFormatterTest::testEntityReferenceRecursiveProtectionWithManyRenderedEntities function core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceFormatterTest.php Renders the same entity referenced from different places.
EntityReferenceFormatterTest::testFormatterReferencingItem function core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceFormatterTest.php Tests formatters set the correct _referringItem on referenced entities.
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.
EntityReferenceIdFormatter class core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceIdFormatter.php Plugin implementation of the 'entity reference ID' formatter.
EntityReferenceIdFormatter.php file core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceIdFormatter.php
EntityReferenceIdFormatter::viewElements function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceIdFormatter.php Builds a renderable array for a field value.
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.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.