Search for entityType

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

Exact matches

These are exact matches according to your search
Title Object type File name Summary
EntityType class core/lib/Drupal/Core/Entity/Attribute/EntityType.php Defines an entity type for plugin discovery.
EntityType class core/lib/Drupal/Core/Entity/EntityType.php Provides an implementation of an entity type and its metadata.
EntityType class core/lib/Drupal/Core/Entity/Annotation/EntityType.php Defines an Entity type annotation object.

All search results

Title Object type File name Summary
SqlContentEntityStorageSchema::handleEntityTypeSchemaUpdateExceptionOnDataCopy function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Handles the case when an error occurs during the data copying step.
SqlContentEntityStorageSchema::onEntityTypeCreate function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Reacts to the creation of the entity type.
SqlContentEntityStorageSchema::onEntityTypeDelete function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Reacts to the deletion of the entity type.
SqlContentEntityStorageSchema::onEntityTypeUpdate function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Reacts to the update of the entity type.
SqlContentEntityStorageSchema::onFieldableEntityTypeCreate function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Reacts to the creation of the fieldable entity type.
SqlContentEntityStorageSchema::onFieldableEntityTypeUpdate function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Reacts to the update of a fieldable entity type.
SqlContentEntityStorageSchema::postUpdateEntityTypeSchema function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Allows subscribers to do any cleanup necessary after data copying.
SqlContentEntityStorageSchema::preUpdateEntityTypeSchema function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Allows subscribers to prepare their schema before data copying.
SqlContentEntityStorageSchemaTest::$entityType property core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageSchemaTest.php The mocked entity type used in this test.
SqlContentEntityStorageSchemaTest::$entityTypeManager property core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageSchemaTest.php The mocked entity type manager used in this test.
SqlContentEntityStorageSchemaTest::testonEntityTypeUpdateWithNewIndex function core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageSchemaTest.php Tests on entity type update with new index.
SqlContentEntityStorageTest::$entityType property core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php The entity type used in this test.
SqlContentEntityStorageTest::$entityTypeBundleInfo property core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php The entity type bundle info used in this test.
SqlContentEntityStorageTest::$entityTypeId property core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php The entity type ID.
SqlContentEntityStorageTest::$entityTypeManager property core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php The mocked entity type manager used in this test.
SqlContentEntityStorageTest::setUpMockEntityType function core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php Reinitializes the entity type as a mock object.
SqlContentEntityStorageTest::testOnEntityTypeCreate function core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php Tests ContentEntityDatabaseStorage::onEntityTypeCreate().
SqlFieldableEntityTypeListenerTrait trait core/lib/Drupal/Core/Entity/Sql/SqlFieldableEntityTypeListenerTrait.php Helper methods for EntityTypeListenerInterface.
SqlFieldableEntityTypeListenerTrait.php file core/lib/Drupal/Core/Entity/Sql/SqlFieldableEntityTypeListenerTrait.php
SqlFieldableEntityTypeListenerTrait::copyData function core/lib/Drupal/Core/Entity/Sql/SqlFieldableEntityTypeListenerTrait.php Copies entity data from the original storage to the temporary one.
SqlFieldableEntityTypeListenerTrait::handleEntityTypeSchemaUpdateExceptionOnDataCopy function core/lib/Drupal/Core/Entity/Sql/SqlFieldableEntityTypeListenerTrait.php Handles the case when an error occurs during the data copying step.
SqlFieldableEntityTypeListenerTrait::onFieldableEntityTypeUpdate function core/lib/Drupal/Core/Entity/Sql/SqlFieldableEntityTypeListenerTrait.php
SqlFieldableEntityTypeListenerTrait::postUpdateEntityTypeSchema function core/lib/Drupal/Core/Entity/Sql/SqlFieldableEntityTypeListenerTrait.php Allows subscribers to do any cleanup necessary after data copying.
SqlFieldableEntityTypeListenerTrait::preUpdateEntityTypeSchema function core/lib/Drupal/Core/Entity/Sql/SqlFieldableEntityTypeListenerTrait.php Allows subscribers to prepare their schema before data copying.
SqlTest::setupEntityTypeManager function core/modules/views/tests/src/Unit/Plugin/query/SqlTest.php Sets up the entity type manager in the container.
SqlTest::setupEntityTypes function core/modules/views/tests/src/Unit/Plugin/query/SqlTest.php Sets up some test entity types and corresponding views data.
SqlTest::testLoadEntitiesWithRevisionOfSameEntityType function core/modules/views/tests/src/Unit/Plugin/query/SqlTest.php Tests load entities with revision of same entity type.
StringFormatter::$entityTypeManager property core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/StringFormatter.php The entity type manager.
StringFormatterTest::$entityType property core/modules/field/tests/src/Kernel/KernelString/StringFormatterTest.php
StringFormatterTest::$entityTypeManager property core/modules/field/tests/src/Kernel/KernelString/StringFormatterTest.php The entity type manager.
SystemHooks::entityTypeBuild function core/modules/system/src/Hook/SystemHooks.php Implements hook_entity_type_build().
SystemMenuOffCanvasForm::$entityTypeManager property core/modules/system/src/Form/SystemMenuOffCanvasForm.php
SystemMenuOffCanvasForm::$entityTypeManager property core/modules/settings_tray/src/Form/SystemMenuOffCanvasForm.php
Tables::$baseTablesEntityType property core/modules/workspaces/src/EntityQuery/Tables.php Keeps track of the entity type IDs for each base table of the query.
Tables::$entityTypeManager property core/lib/Drupal/Core/Entity/Query/Sql/Tables.php The entity type manager.
TaxonomyOverviewOverrideHooks::entityTypeAlter function core/modules/taxonomy/tests/modules/taxonomy_overview_override_test/src/Hook/TaxonomyOverviewOverrideHooks.php Implements hook_entity_type_alter().
TaxonomyPermissions::$entityTypeManager property core/modules/taxonomy/src/TaxonomyPermissions.php The entity type manager.
TaxonomyTermDisplayConfigurableTestHooks::entityTypeBuild function core/modules/taxonomy/tests/modules/taxonomy_term_display_configurable_test/src/Hook/TaxonomyTermDisplayConfigurableTestHooks.php Implements hook_entity_type_build().
TaxonomyTermHierarchyConstraintValidator::$entityTypeManager property core/modules/taxonomy/src/Plugin/Validation/Constraint/TaxonomyTermHierarchyConstraintValidator.php The entity type manager.
TermBreadcrumbBuilder::$entityTypeManager property core/modules/taxonomy/src/TermBreadcrumbBuilder.php The entity type manager.
TermResourceTestBase::$entityTypeId property core/modules/taxonomy/tests/src/Functional/Rest/TermResourceTestBase.php The tested entity type.
TermTest::$entityTypeId property core/modules/jsonapi/tests/src/Functional/TermTest.php The tested entity type.
TestableSqlContentEntityStorage::$entityType property core/tests/Drupal/KernelTests/Core/Entity/Sql/TestableSqlContentEntityStorage.php Information about the entity type.
TestCoverageTest::testEntityTypeRestTestCoverage function core/modules/jsonapi/tests/src/Kernel/TestCoverageTest.php Tests that all core entity types have JSON:API test coverage.
TestDefaultHtmlRouteProvider::getEntityTypeIdKeyType function core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php Gets the type of the ID key for a given entity type.
TestEntityType class core/modules/views/tests/src/Kernel/Entity/EntityViewsDataTest.php Entity type class which allows changing the entity keys.
TestEntityType::setKey function core/modules/views/tests/src/Kernel/Entity/EntityViewsDataTest.php Sets a specific entity key.
TestEntityTypeManager class core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php Provides a test entity type manager.
TestEntityTypeManager::setDiscovery function core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php Sets the discovery for the manager.
TextFormatterTest::$entityType property core/modules/text/tests/src/Kernel/TextFormatterTest.php The entity type used in this test.

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