Search for entityTypes

  1. Search 7.x for entityTypes
  2. Search 9.5.x for entityTypes
  3. Search 8.9.x for entityTypes
  4. Search 10.3.x for entityTypes
  5. Other projects
Title Object type File name Summary
CommentBundlesTest::$targetEntityTypes property core/modules/comment/tests/src/Kernel/CommentBundlesTest.php Entity type ids to use for target_entity_type_id on comment bundles.
CommentTypeForm::entityTypeSupportsComments function core/modules/comment/src/CommentTypeForm.php Wraps _comment_entity_uses_integer_id().
ContentModeration::getEntityTypes function core/modules/content_moderation/src/Plugin/WorkflowType/ContentModeration.php Gets the entity types the workflow is applied to.
ContentModerationConfigureEntityTypesForm class core/modules/content_moderation/src/Form/ContentModerationConfigureEntityTypesForm.php The form for editing entity types associated with a workflow.
ContentModerationConfigureEntityTypesForm.php file core/modules/content_moderation/src/Form/ContentModerationConfigureEntityTypesForm.php
ContentModerationConfigureEntityTypesForm::$bundleInfo property core/modules/content_moderation/src/Form/ContentModerationConfigureEntityTypesForm.php The entity type bundle information service.
ContentModerationConfigureEntityTypesForm::$entityType property core/modules/content_moderation/src/Form/ContentModerationConfigureEntityTypesForm.php The entity type definition object.
ContentModerationConfigureEntityTypesForm::$entityTypeManager property core/modules/content_moderation/src/Form/ContentModerationConfigureEntityTypesForm.php The entity type manager service.
ContentModerationConfigureEntityTypesForm::$messenger property core/modules/content_moderation/src/Form/ContentModerationConfigureEntityTypesForm.php The Messenger service.
ContentModerationConfigureEntityTypesForm::$moderationInformation property core/modules/content_moderation/src/Form/ContentModerationConfigureEntityTypesForm.php The moderation information service.
ContentModerationConfigureEntityTypesForm::$workflow property core/modules/content_moderation/src/Form/ContentModerationConfigureEntityTypesForm.php The workflow entity object.
ContentModerationConfigureEntityTypesForm::ajaxCallback function core/modules/content_moderation/src/Form/ContentModerationConfigureEntityTypesForm.php Ajax callback to close the modal and update the selected text.
ContentModerationConfigureEntityTypesForm::buildForm function core/modules/content_moderation/src/Form/ContentModerationConfigureEntityTypesForm.php Form constructor.
ContentModerationConfigureEntityTypesForm::create function core/modules/content_moderation/src/Form/ContentModerationConfigureEntityTypesForm.php Instantiates a new instance of this class.
ContentModerationConfigureEntityTypesForm::getFormId function core/modules/content_moderation/src/Form/ContentModerationConfigureEntityTypesForm.php Returns a unique string identifying the form.
ContentModerationConfigureEntityTypesForm::getTitle function core/modules/content_moderation/src/Form/ContentModerationConfigureEntityTypesForm.php Route title callback.
ContentModerationConfigureEntityTypesForm::submitForm function core/modules/content_moderation/src/Form/ContentModerationConfigureEntityTypesForm.php Form submission handler.
ContentModerationConfigureEntityTypesForm::__construct function core/modules/content_moderation/src/Form/ContentModerationConfigureEntityTypesForm.php
ContentModerationInterface::getEntityTypes function core/modules/content_moderation/src/Plugin/WorkflowType/ContentModerationInterface.php Gets the entity types the workflow is applied to.
ContentModerationRouteSubscriber::$moderatedEntityTypes property core/modules/content_moderation/src/Routing/ContentModerationRouteSubscriber.php An associative array of moderated entity types keyed by ID.
ContentModerationRouteSubscriber::getModeratedEntityTypes function core/modules/content_moderation/src/Routing/ContentModerationRouteSubscriber.php Returns the moderated entity types.
ContentModerationRouteSubscriberTest::setupEntityTypes function core/modules/content_moderation/tests/src/Unit/ContentModerationRouteSubscriberTest.php Creates the entity type manager mock returning entity type objects.
ContentTranslationManager::getSupportedEntityTypes function core/modules/content_translation/src/ContentTranslationManager.php
ContentTranslationManagerInterface::getSupportedEntityTypes function core/modules/content_translation/src/ContentTranslationManagerInterface.php Gets the entity types that support content translation.
DefaultsSectionStorage::getEntityTypes function core/modules/layout_builder/src/Plugin/SectionStorage/DefaultsSectionStorage.php Returns an array of relevant entity types.
EntityActionDeriverBase::getApplicableEntityTypes function core/lib/Drupal/Core/Action/Plugin/Action/Derivative/EntityActionDeriverBase.php Gets a list of applicable entity types.
EntityDefinitionUpdateManager::getEntityTypes function core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php Returns all the entity type definitions, ready to be manipulated.
EntityDefinitionUpdateManagerInterface::getEntityTypes function core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php Returns all the entity type definitions, ready to be manipulated.
EntityDefinitionUpdateTest::testBundleFieldUpdateWithEntityTypeSchemaUpdate function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php Tests updating a bundle field when the entity type schema has changed.
EntityDefinitionUpdateTest::testGetEntityTypes function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php @covers ::getEntityTypes
EntityDisplayModeListBuilder::$entityTypes property core/modules/field_ui/src/EntityDisplayModeListBuilder.php All entity types.
EntityReferenceIntegrationTest::testSupportedEntityTypesAndWidgets function core/modules/field/tests/src/Functional/EntityReference/EntityReferenceIntegrationTest.php Tests the entity reference field with all its supported field widgets.
EntityResolverManager::$entityTypes property core/lib/Drupal/Core/Entity/EntityResolverManager.php The list of all entity types.
EntityResolverManager::getEntityTypes function core/lib/Drupal/Core/Entity/EntityResolverManager.php Gets the list of all entity types.
EntityResolverManagerTest::setupEntityTypes function core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php Creates the entity type manager mock returning entity type objects.
EntityTypeInfoTest::testBaseFieldOnlyAddedToModeratedEntityTypes function core/modules/content_moderation/tests/src/Kernel/EntityTypeInfoTest.php @covers ::entityBaseFieldInfo
FieldableEntityDefinitionUpdateTest::assertEntityTypeSchema function core/tests/Drupal/KernelTests/Core/Entity/FieldableEntityDefinitionUpdateTest.php Asserts revisionable and/or translatable characteristics of an entity type.
FilterEntityReferenceTrait::setUpEntityTypes function core/modules/views_ui/tests/src/Traits/FilterEntityReferenceTrait.php Sets up the entity types and relationships.
ManageFieldsMultipleTypesTest::entityTypesProvider function core/modules/field_ui/tests/src/Functional/ManageFieldsMultipleTypesTest.php Data provider for testing Field UI with multiple entity types.
OverridesSectionStorage::getEntityTypes function core/modules/layout_builder/src/Plugin/SectionStorage/OverridesSectionStorage.php Returns an array of relevant entity types.
RequiredConfigDependenciesConstraint::$entityTypes property core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/RequiredConfigDependenciesConstraint.php The IDs of entity types that need to exist in config dependencies.
SqlContentEntityStorageSchema::handleEntityTypeSchemaUpdateExceptionOnDataCopy function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Handles the case when an error occurs during the data copying step.
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.
SqlFieldableEntityTypeListenerTrait::handleEntityTypeSchemaUpdateExceptionOnDataCopy function core/lib/Drupal/Core/Entity/Sql/SqlFieldableEntityTypeListenerTrait.php Handles the case when an error occurs during the data copying step.
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::setupEntityTypes function core/modules/views/tests/src/Unit/Plugin/query/SqlTest.php Sets up some test entity types and corresponding views data.
ViewsData::processEntityTypes function core/modules/views/src/ViewsData.php Links tables with 'entity type' to respective generic entity-type tables.
WildcardConfigActionsTest::testCreateForEachErrorsIfNoBundleEntityTypesExist function core/tests/Drupal/KernelTests/Core/Recipe/WildcardConfigActionsTest.php Tests that the createForEach action requires bundle entity types to exist.

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