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
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 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::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.
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 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::fieldSettingsSummary function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Returns a short summary of the field's field-level settings.
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 Generates placeholder field values.
EntityReferenceItem::getConstraints function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Gets a list of validation constraints.
EntityReferenceItem::getPossibleOptions function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Returns an array of possible values with labels for display.
EntityReferenceItem::getPossibleValues function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Returns an array of possible values.
EntityReferenceItem::getPreconfiguredOptions function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Returns preconfigured field options for a field type.
EntityReferenceItem::getReferenceableBundles function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Returns the referenceable entity types and bundles.
EntityReferenceItem::getSettableOptions function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Returns an array of settable values with labels for display.
EntityReferenceItem::getSettableValues function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Returns an array of settable values.
EntityReferenceItem::hasNewEntity function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Determines whether the item holds an unsaved entity.
EntityReferenceItem::isEmpty function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Determines whether the data structure is empty.
EntityReferenceItem::preSave function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Defines custom presave behavior for field values.
EntityReferenceItem::propertyDefinitions function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Defines field item properties.
EntityReferenceItem::schema function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Returns the schema for the field.
EntityReferenceItem::settingsAjaxSubmit function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Submit handler for the non-JS case.
EntityReferenceItem::setValue function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Overrides \Drupal\Core\TypedData\TypedData::setValue().
EntityReferenceItem::storageSettingsForm function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Returns a form for the storage-level settings.
EntityReferenceItem::storageSettingsSummary function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Returns a short summary of the field's storage-level settings.
EntityReferenceItemBase class core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItemBase.php Base class for field items referencing other entities.
EntityReferenceItemBase.php file core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItemBase.php

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