Search for entity

  1. Search 7.x for entity
  2. Search 9.5.x for entity
  3. Search 10.3.x for entity
  4. Search 11.x for entity
  5. Search main for entity
  6. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Entity class core/lib/Drupal/Core/Entity/Entity.php Defines a base entity class.
Entity class core/modules/views/src/Plugin/views/argument_validator/Entity.php Defines a argument validator plugin for each entity type.
Entity class core/modules/views/src/Plugin/views/area/Entity.php Provides an area handler which renders an entity in a certain view mode.
Entity class core/modules/migrate/src/Plugin/migrate/destination/Entity.php Provides a generic destination to import entities.
Entity class core/tests/Drupal/Tests/Component/Annotation/Doctrine/Ticket/DCOM58Test.php
Entity class core/tests/Drupal/Tests/Component/Annotation/Doctrine/Ticket/DCOM58Entity.php This class is a near-copy of tests/Doctrine/Tests/Common/Annotations/Ticket/DCOM58Entity.php, which is part of the Doctrine project: <http://www.doctrine-project.org>. It was copied from version 1.2.7.

All search results

Title Object type File name Summary
TestEntityType class core/modules/views/tests/src/Unit/EntityViewsDataTest.php
TestEntityType::setKey function core/modules/views/tests/src/Unit/EntityViewsDataTest.php Sets a specific entity key.
TestEntityTypeManager class core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php
TestEntityTypeManager::setDiscovery function core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php Sets the discovery for the manager.
TestEntityViewsData class core/modules/views/tests/src/Unit/EntityViewsDataTest.php
TestEntityViewsData::setEntityType function core/modules/views/tests/src/Unit/EntityViewsDataTest.php
TestLayoutEntityHelperTrait class core/modules/layout_builder/tests/src/Kernel/LayoutEntityHelperTraitTest.php Test class using the trait.
TestPerComponentEntityDisplay class core/modules/migrate/tests/src/Unit/destination/PerComponentEntityDisplayTest.php
TestPerComponentEntityDisplay::$testValues property core/modules/migrate/tests/src/Unit/destination/PerComponentEntityDisplayTest.php
TestPerComponentEntityDisplay::getEntity function core/modules/migrate/tests/src/Unit/destination/PerComponentEntityDisplayTest.php Gets the entity.
TestPerComponentEntityDisplay::getTestValues function core/modules/migrate/tests/src/Unit/destination/PerComponentEntityDisplayTest.php
TestPerComponentEntityDisplay::MODE_NAME constant core/modules/migrate/tests/src/Unit/destination/PerComponentEntityDisplayTest.php
TestPerComponentEntityDisplay::__construct function core/modules/migrate/tests/src/Unit/destination/PerComponentEntityDisplayTest.php PerComponentEntityDisplay constructor.
TestPerComponentEntityFormDisplay class core/modules/migrate/tests/src/Unit/destination/PerComponentEntityFormDisplayTest.php
TestPerComponentEntityFormDisplay::$testValues property core/modules/migrate/tests/src/Unit/destination/PerComponentEntityFormDisplayTest.php
TestPerComponentEntityFormDisplay::getEntity function core/modules/migrate/tests/src/Unit/destination/PerComponentEntityFormDisplayTest.php Gets the entity.
TestPerComponentEntityFormDisplay::getTestValues function core/modules/migrate/tests/src/Unit/destination/PerComponentEntityFormDisplayTest.php
TestPerComponentEntityFormDisplay::MODE_NAME constant core/modules/migrate/tests/src/Unit/destination/PerComponentEntityFormDisplayTest.php
TestPerComponentEntityFormDisplay::__construct function core/modules/migrate/tests/src/Unit/destination/PerComponentEntityFormDisplayTest.php PerComponentEntityDisplay constructor.
TestRevisionMetadataBcLayerEntityType class core/modules/system/tests/src/Functional/Entity/Update/MoveRevisionMetadataFieldsUpdateTest.php Test entity type class for adding new required revision metadata keys.
TestRevisionMetadataBcLayerEntityType::__construct function core/modules/system/tests/src/Functional/Entity/Update/MoveRevisionMetadataFieldsUpdateTest.php Constructs a new EntityType.
TestSelection::buildEntityQuery function core/modules/block_content/tests/modules/block_content_test/src/Plugin/EntityReferenceSelection/TestSelection.php Builds an EntityQuery to get referenceable entities.
TestWithConstraints::getEntityConstraints function core/modules/media/tests/modules/media_test_source/src/Plugin/media/Source/TestWithConstraints.php Gets media source-specific validation constraints for a media item.
test_function_controller_entity_upcasting function core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php
TextFormatterTest::$entityType property core/modules/text/tests/src/Kernel/TextFormatterTest.php The entity type used in this test.
ThumbnailDownloader::$entityTypeManager property core/modules/media/src/Plugin/QueueWorker/ThumbnailDownloader.php The entity type manager service.
TimestampFormatterTest::$entityType property core/modules/field/tests/src/Kernel/Timestamp/TimestampFormatterTest.php
TimestampFormatterTest::renderEntityFields function core/modules/field/tests/src/Kernel/Timestamp/TimestampFormatterTest.php Renders fields of a given entity with a given display.
TourHelpSection::$entityTypeManager property core/modules/tour/src/Plugin/HelpSection/TourHelpSection.php The entity type manager.
TourResourceTestBase::$entity property core/modules/tour/tests/src/Functional/Rest/TourResourceTestBase.php
TourResourceTestBase::$entityTypeId property core/modules/tour/tests/src/Functional/Rest/TourResourceTestBase.php The tested entity type.
TourResourceTestBase::createEntity function core/modules/tour/tests/src/Functional/Rest/TourResourceTestBase.php Creates the entity to be tested.
TourResourceTestBase::getExpectedNormalizedEntity function core/modules/tour/tests/src/Functional/Rest/TourResourceTestBase.php Returns the expected normalization of the entity.
TourResourceTestBase::getNormalizedPostEntity function core/modules/tour/tests/src/Functional/Rest/TourResourceTestBase.php Returns the normalized POST entity.
TourTest::$entity property core/modules/jsonapi/tests/src/Functional/TourTest.php
TourTest::$entityTypeId property core/modules/jsonapi/tests/src/Functional/TourTest.php The tested entity type.
TourTest::createEntity function core/modules/jsonapi/tests/src/Functional/TourTest.php Creates the entity to be tested.
TranslationLink::getEntityLinkTemplate function core/modules/content_translation/src/Plugin/views/field/TranslationLink.php Returns the entity link template name identifying the link route.
TranslationTest::$entityType property core/modules/field/tests/src/Kernel/TranslationTest.php The name of the entity type to use in this test.
TranslationWebTest::$entityTypeId property core/modules/field/tests/src/Functional/TranslationWebTest.php The name of the entity type to use in this test.
TwigSandboxTest::getTwigEntityDangerousMethods function core/tests/Drupal/Tests/Core/Template/TwigSandboxTest.php Data provider for ::testEntityDangerousMethods.
TwigSandboxTest::testEntityDangerousMethods function core/tests/Drupal/Tests/Core/Template/TwigSandboxTest.php Tests that dangerous methods cannot be called in entity objects.
TwigSandboxTest::testEntitySafeMethods function core/tests/Drupal/Tests/Core/Template/TwigSandboxTest.php Tests that valid methods can be called from within Twig templates.
TwigSandboxTest::testEntitySafePrefixes function core/tests/Drupal/Tests/Core/Template/TwigSandboxTest.php Tests that prefixed methods can be called from within Twig templates.
TypeLinkManager::$entityTypeManager property core/modules/hal/src/LinkManager/TypeLinkManager.php The entity type manager.
UniqueFieldConstraintTest::providerTestEntityWithStringIdWithViolation function core/tests/Drupal/KernelTests/Core/Validation/UniqueFieldConstraintTest.php Data provider for ::testEntityWithStringIdWithViolation().
UniqueFieldConstraintTest::testEntityWithStringId function core/tests/Drupal/KernelTests/Core/Validation/UniqueFieldConstraintTest.php Tests cases where the validation passes for entities with string IDs.
UniqueFieldConstraintTest::testEntityWithStringIdWithViolation function core/tests/Drupal/KernelTests/Core/Validation/UniqueFieldConstraintTest.php Tests cases when validation raises violations for entities with string IDs.
UniquePathAliasConstraintValidator::$entityTypeManager property core/lib/Drupal/Core/Path/Plugin/Validation/Constraint/UniquePathAliasConstraintValidator.php The entity type manager.
unique_field_constraint_test_entity_base_field_info_alter function core/modules/system/tests/modules/unique_field_constraint_test/unique_field_constraint_test.module Implements hook_entity_base_field_info_alter().

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