Search for format

  1. Search 7.x for format
  2. Search 9.5.x for format
  3. Search 8.9.x for format
  4. Search 10.3.x for format
  5. Other projects
Title Object type File name Summary
EntityReferenceAdminTest::testAvailableFormatters function core/modules/field/tests/src/Functional/EntityReference/EntityReferenceAdminTest.php Tests the formatters for the Entity References.
EntityReferenceEntityFormatter class core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceEntityFormatter.php Plugin implementation of the 'entity reference rendered entity' formatter.
EntityReferenceEntityFormatter.php file core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceEntityFormatter.php
EntityReferenceEntityFormatter::$entityDisplayRepository property core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceEntityFormatter.php The entity display repository.
EntityReferenceEntityFormatter::$entityTypeManager property core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceEntityFormatter.php The entity type manager.
EntityReferenceEntityFormatter::$loggerFactory property core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceEntityFormatter.php The logger factory.
EntityReferenceEntityFormatter::$recursiveRenderDepth property core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceEntityFormatter.php An array of counters for the recursive rendering protection.
EntityReferenceEntityFormatter::create function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceEntityFormatter.php Creates an instance of the plugin.
EntityReferenceEntityFormatter::defaultSettings function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceEntityFormatter.php Defines the default settings for this plugin.
EntityReferenceEntityFormatter::isApplicable function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceEntityFormatter.php Returns if the formatter can be used for the provided field.
EntityReferenceEntityFormatter::RECURSIVE_RENDER_LIMIT constant core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceEntityFormatter.php The number of times this formatter allows rendering the same entity.
EntityReferenceEntityFormatter::settingsForm function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceEntityFormatter.php Returns a form to configure settings for the formatter.
EntityReferenceEntityFormatter::settingsSummary function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceEntityFormatter.php Returns a short summary for the current formatter settings.
EntityReferenceEntityFormatter::viewElements function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceEntityFormatter.php Builds a renderable array for a field value.
EntityReferenceEntityFormatter::__construct function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceEntityFormatter.php Constructs an EntityReferenceEntityFormatter instance.
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::$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::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.
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.
EntityReferenceLabelFormatter class core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceLabelFormatter.php Plugin implementation of the 'entity reference label' formatter.
EntityReferenceLabelFormatter.php file core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceLabelFormatter.php
EntityReferenceLabelFormatter::checkAccess function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceLabelFormatter.php Checks access to the given entity.
EntityReferenceLabelFormatter::defaultSettings function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceLabelFormatter.php Defines the default settings for this plugin.
EntityReferenceLabelFormatter::settingsForm function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceLabelFormatter.php Returns a form to configure settings for the formatter.
EntityReferenceLabelFormatter::settingsSummary function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceLabelFormatter.php Returns a short summary for the current formatter settings.
EntityReferenceLabelFormatter::viewElements function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceLabelFormatter.php Builds a renderable array for a field value.
EntityReferenceTaxonomyTermRssFormatter class core/modules/taxonomy/src/Plugin/Field/FieldFormatter/EntityReferenceTaxonomyTermRssFormatter.php Plugin implementation of the 'entity reference taxonomy term RSS' formatter.
EntityReferenceTaxonomyTermRssFormatter.php file core/modules/taxonomy/src/Plugin/Field/FieldFormatter/EntityReferenceTaxonomyTermRssFormatter.php

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