Search for %s

  1. Search 7.x for %s
  2. Search 9.5.x for %s
  3. Search 8.9.x for %s
  4. Search 10.3.x for %s
  5. Search 11.x for %s
  6. Other projects
Title Object type File name Summary
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::viewElements function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceIdFormatter.php
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
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
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::calculateDependencies function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php
EntityReferenceItem::calculateStorageDependencies function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php
EntityReferenceItem::defaultFieldSettings function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php
EntityReferenceItem::defaultStorageSettings function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php
EntityReferenceItem::fieldSettingsAjaxProcess function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Render API callback: Processes the field settings form.
EntityReferenceItem::fieldSettingsAjaxProcessElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Adds the field settings to AJAX form elements.
EntityReferenceItem::fieldSettingsForm function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php
EntityReferenceItem::fieldSettingsFormValidate function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Form element validation handler; Invokes selection plugin's validation.
EntityReferenceItem::fieldSettingsSummary function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php
EntityReferenceItem::formProcessMergeParent function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Render API callback that moves entity reference elements up a level.
EntityReferenceItem::generateSampleValue function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php
EntityReferenceItem::getConstraints function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php
EntityReferenceItem::getPossibleOptions function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php
EntityReferenceItem::getPossibleValues function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php
EntityReferenceItem::getPreconfiguredOptions function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php
EntityReferenceItem::getReferenceableBundles function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php

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