Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 10.3.x for all
  5. Search 11.x for all
  6. Other projects
Title Object type File name Summary
EntityValidationTest::$entityUser property core/tests/Drupal/KernelTests/Core/Entity/EntityValidationTest.php The user for the entity.
EntityValidationTest::$modules property core/tests/Drupal/KernelTests/Core/Entity/EntityValidationTest.php Modules to install.
EntityValidationTest::checkValidation function core/tests/Drupal/KernelTests/Core/Entity/EntityValidationTest.php Executes the validation test set for a defined entity type.
EntityValidationTest::createTestEntity function core/tests/Drupal/KernelTests/Core/Entity/EntityValidationTest.php Creates a test entity.
EntityValidationTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/EntityValidationTest.php
EntityValidationTest::testCompositeConstraintValidation function core/tests/Drupal/KernelTests/Core/Entity/EntityValidationTest.php Tests composite constraints.
EntityValidationTest::testEntityChangedConstraintOnConcurrentMultilingualEditing function core/tests/Drupal/KernelTests/Core/Entity/EntityValidationTest.php Tests the EntityChangedConstraintValidator with multiple translations.
EntityValidationTest::testValidation function core/tests/Drupal/KernelTests/Core/Entity/EntityValidationTest.php Tests validating test entity types.
EntityValidationTrait trait core/modules/jsonapi/src/Entity/EntityValidationTrait.php Provides a method to validate an entity.
EntityValidationTrait.php file core/modules/jsonapi/src/Entity/EntityValidationTrait.php
EntityValidationTrait::validate function core/modules/jsonapi/src/Entity/EntityValidationTrait.php Verifies that an entity does not violate any validation constraints.
EntityViewAlterTest class core/modules/layout_builder/tests/src/Kernel/EntityViewAlterTest.php Tests Entity View Alter.
EntityViewAlterTest.php file core/modules/layout_builder/tests/src/Kernel/EntityViewAlterTest.php
EntityViewAlterTest::$modules property core/modules/layout_builder/tests/src/Kernel/EntityViewAlterTest.php Modules to install.
EntityViewAlterTest::setUp function core/modules/layout_builder/tests/src/Kernel/EntityViewAlterTest.php
EntityViewAlterTest::testContextualLinksRemoved function core/modules/layout_builder/tests/src/Kernel/EntityViewAlterTest.php Tests that contextual links are removed when rendering Layout Builder.
EntityViewBuilder class core/lib/Drupal/Core/Entity/EntityViewBuilder.php Base class for entity view builders.
EntityViewBuilder.php file core/lib/Drupal/Core/Entity/EntityViewBuilder.php
EntityViewBuilder::$cacheBin property core/lib/Drupal/Core/Entity/EntityViewBuilder.php The cache bin used to store the render cache.
EntityViewBuilder::$entityDisplayRepository property core/lib/Drupal/Core/Entity/EntityViewBuilder.php The entity display repository.
EntityViewBuilder::$entityRepository property core/lib/Drupal/Core/Entity/EntityViewBuilder.php The entity repository service.
EntityViewBuilder::$entityType property core/lib/Drupal/Core/Entity/EntityViewBuilder.php Information about the entity type.
EntityViewBuilder::$entityTypeId property core/lib/Drupal/Core/Entity/EntityViewBuilder.php The type of entities for which this view builder is instantiated.
EntityViewBuilder::$languageManager property core/lib/Drupal/Core/Entity/EntityViewBuilder.php The language manager.
EntityViewBuilder::$recursionKeys property core/lib/Drupal/Core/Entity/EntityViewBuilder.php A collection of keys.
EntityViewBuilder::$singleFieldDisplays property core/lib/Drupal/Core/Entity/EntityViewBuilder.php The EntityViewDisplay objects created for individual field rendering.
EntityViewBuilder::$themeRegistry property core/lib/Drupal/Core/Entity/EntityViewBuilder.php The theme registry.
EntityViewBuilder::addContextualLinks function core/lib/Drupal/Core/Entity/EntityViewBuilder.php Add contextual links.
EntityViewBuilder::alterBuild function core/lib/Drupal/Core/Entity/EntityViewBuilder.php Specific per-entity building.
EntityViewBuilder::build function core/lib/Drupal/Core/Entity/EntityViewBuilder.php Builds an entity's view; augments entity defaults.
EntityViewBuilder::buildComponents function core/lib/Drupal/Core/Entity/EntityViewBuilder.php Builds the component fields and properties of a set of entities.
EntityViewBuilder::buildMultiple function core/lib/Drupal/Core/Entity/EntityViewBuilder.php Builds multiple entities' views; augments entity defaults.
EntityViewBuilder::createInstance function core/lib/Drupal/Core/Entity/EntityViewBuilder.php Instantiates a new instance of this entity handler.
EntityViewBuilder::getBuildDefaults function core/lib/Drupal/Core/Entity/EntityViewBuilder.php Provides entity-specific defaults to the build process.
EntityViewBuilder::getCacheTags function core/lib/Drupal/Core/Entity/EntityViewBuilder.php The cache tag associated with this entity view builder.
EntityViewBuilder::getRenderRecursionKey function core/lib/Drupal/Core/Entity/EntityViewBuilder.php Generates a key for an entity render array for recursion protection.
EntityViewBuilder::getSingleFieldDisplay function core/lib/Drupal/Core/Entity/EntityViewBuilder.php Gets an EntityViewDisplay for rendering an individual field.
EntityViewBuilder::isViewModeCacheable function core/lib/Drupal/Core/Entity/EntityViewBuilder.php Determines whether the view mode is cacheable.
EntityViewBuilder::resetCache function core/lib/Drupal/Core/Entity/EntityViewBuilder.php Resets the entity render cache.
EntityViewBuilder::setRecursiveRenderProtection function core/lib/Drupal/Core/Entity/EntityViewBuilder.php Entity render array #pre_render callback.
EntityViewBuilder::trustedCallbacks function core/lib/Drupal/Core/Entity/EntityViewBuilder.php Lists the trusted callbacks provided by the implementing class.
EntityViewBuilder::unsetRecursiveRenderProtection function core/lib/Drupal/Core/Entity/EntityViewBuilder.php Entity render array #post_render callback.
EntityViewBuilder::view function core/lib/Drupal/Core/Entity/EntityViewBuilder.php Builds the render array for the provided entity.
EntityViewBuilder::viewField function core/lib/Drupal/Core/Entity/EntityViewBuilder.php Builds a renderable array for the value of a single field in an entity.
EntityViewBuilder::viewFieldItem function core/lib/Drupal/Core/Entity/EntityViewBuilder.php Builds a renderable array for a single field item.
EntityViewBuilder::viewMultiple function core/lib/Drupal/Core/Entity/EntityViewBuilder.php Builds the render array for the provided entities.
EntityViewBuilder::__construct function core/lib/Drupal/Core/Entity/EntityViewBuilder.php Constructs a new EntityViewBuilder.
EntityViewBuilderInterface interface core/lib/Drupal/Core/Entity/EntityViewBuilderInterface.php Defines an interface for entity view builders.
EntityViewBuilderInterface.php file core/lib/Drupal/Core/Entity/EntityViewBuilderInterface.php
EntityViewBuilderInterface::buildComponents function core/lib/Drupal/Core/Entity/EntityViewBuilderInterface.php Builds the component fields and properties of a set of entities.

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