Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Other projects
Title Object type File name Summary
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::$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 The entity that is not yet saved to its persistent storage to be referenced
in this test.
EntityReferenceFormatterTest::buildRenderArray function core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceFormatterTest.php Sets field values and returns a render array as built by
\Drupal\Core\Field\FieldItemListInterface::view().
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.
EntityReferenceHandlerSettingUpdateTest class core/modules/field/tests/src/Functional/Update/EntityReferenceHandlerSettingUpdateTest.php Tests the update for the entity reference 'handler' setting.
EntityReferenceHandlerSettingUpdateTest.php file core/modules/field/tests/src/Functional/Update/EntityReferenceHandlerSettingUpdateTest.php
EntityReferenceHandlerSettingUpdateTest::setDatabaseDumpFiles function core/modules/field/tests/src/Functional/Update/EntityReferenceHandlerSettingUpdateTest.php Set database dump files to be used.
EntityReferenceHandlerSettingUpdateTest::testFieldPostUpdateERHandlerSetting function core/modules/field/tests/src/Functional/Update/EntityReferenceHandlerSettingUpdateTest.php Tests field_post_update_entity_reference_handler_setting().
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.
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 class core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Defines the 'entity_reference' entity field type.
EntityReferenceItem.php file core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php
EntityReferenceItem::calculateDependencies function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Calculates dependencies for field items.
EntityReferenceItem::calculateStorageDependencies function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Calculates dependencies for field items on the storage level.
EntityReferenceItem::defaultFieldSettings function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Defines the field-level settings for this plugin.
EntityReferenceItem::defaultStorageSettings function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Defines the storage-level settings for this plugin.
EntityReferenceItem::fieldSettingsAjaxProcess function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Render API callback: Processes the field settings form and allows access to
the form state.
EntityReferenceItem::fieldSettingsAjaxProcessElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Adds entity_reference specific properties to AJAX form elements from the
field settings form.
EntityReferenceItem::fieldSettingsForm function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Returns a form for the field-level settings.
EntityReferenceItem::fieldSettingsFormValidate function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Form element validation handler; Invokes selection plugin's validation.
EntityReferenceItem::formProcessMergeParent function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Render API callback: Moves entity_reference specific Form API elements
(i.e. 'handler_settings') up a level for easier processing by the
validation and submission handlers.
EntityReferenceItem::generateSampleValue function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Generates placeholder field values.

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