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 main for %s
  6. Other projects
Title Object type File name Summary
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 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.

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