77 calls to Drupal::entityTypeManager()

aggregator_entity_extra_field_info in core/modules/aggregator/aggregator.module
Implements hook_entity_extra_field_info().
AliasStorage::__construct in core/lib/Drupal/Core/Path/AliasStorage.php
Constructs a Path CRUD object.
BaseFieldOverride::postDelete in core/lib/Drupal/Core/Field/Entity/BaseFieldOverride.php
Acts on deleted entities before the delete hook is invoked.
BundleConfigImportValidate::__construct in core/lib/Drupal/Core/Entity/Event/BundleConfigImportValidate.php
Constructs the event subscriber.
CommentAdminViewUpdateTest::testCommentAdminPostUpdateHook in core/modules/comment/tests/src/Functional/Update/CommentAdminViewUpdateTest.php
Tests that comment admin view is enabled after update.
CommentTestTrait::addDefaultCommentField in core/modules/comment/src/Tests/CommentTestTrait.php
Adds the default comment field to an entity.
CommentTranslationUITest::doTestPublishedStatus in core/modules/comment/tests/src/Functional/CommentTranslationUITest.php
Tests the translation publishing status.
comment_post_update_enable_comment_admin_view in core/modules/comment/comment.post_update.php
Enable the comment admin view.
ConfigImportAllTest::testInstallUninstall in core/modules/config/tests/src/Functional/ConfigImportAllTest.php
Tests that a fixed set of modules can be installed and uninstalled.
ConfigManager::__construct in core/lib/Drupal/Core/Config/ConfigManager.php
Creates ConfigManager objects.
config_translation_config_translation_info in core/modules/config_translation/config_translation.module
Implements hook_config_translation_info().
ContentUninstallValidator::__construct in core/lib/Drupal/Core/Entity/ContentUninstallValidator.php
Constructs a new ContentUninstallValidator.
content_moderation_post_update_update_cms_default_revisions in core/modules/content_moderation/content_moderation.post_update.php
Synchronize moderation state default revisions with their host entities.
content_moderation_workspace_access in core/modules/content_moderation/content_moderation.module
Implements hook_ENTITY_TYPE_access() for the 'workspace' entity type.
content_translation_update_8400 in core/modules/content_translation/content_translation.install
Fix the initial values for content translation metadata fields.
core_field_views_data in core/modules/views/views.views.inc
Implements hook_field_views_data().
CreateTestContentEntitiesTrait::createContent in core/modules/migrate_drupal/tests/src/Traits/CreateTestContentEntitiesTrait.php
Create several pieces of generic content.
CreateTestContentEntitiesTrait::createContentPostUpgrade in core/modules/migrate_drupal/tests/src/Traits/CreateTestContentEntitiesTrait.php
Create several pieces of generic content.
DeleteActionTest::testGetDerivativeDefinitions in core/tests/Drupal/KernelTests/Core/Action/DeleteActionTest.php
@covers \Drupal\Core\Action\Plugin\Action\Derivative\EntityDeleteActionDeriver::getDerivativeDefinitions
DrupalTest::testEntityTypeManager in core/tests/Drupal/Tests/Core/DrupalTest.php
Tests the entityTypeManager() method.
EntityBase::create in core/lib/Drupal/Core/Entity/EntityBase.php
Constructs a new entity object, without permanently saving it.
EntityBase::entityTypeManager in core/lib/Drupal/Core/Entity/EntityBase.php
Gets the entity type manager.
EntityBase::load in core/lib/Drupal/Core/Entity/EntityBase.php
Loads an entity.
EntityBase::loadMultiple in core/lib/Drupal/Core/Entity/EntityBase.php
Loads one or more entities.
EntityContextDefinition::getSampleValues in core/lib/Drupal/Core/Plugin/Context/EntityContextDefinition.php
Returns typed data objects representing this context definition.
EntityCreateAccessCheck::__construct in core/lib/Drupal/Core/Entity/EntityCreateAccessCheck.php
Constructs a EntityCreateAccessCheck object.
EntityDefinitionUpdateManager::__construct in core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php
Constructs a new EntityDefinitionUpdateManager.
EntityFormBuilder::__construct in core/lib/Drupal/Core/Entity/EntityFormBuilder.php
Constructs a new EntityFormBuilder.
EntityReferenceItem::calculateDependencies in core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php
Calculates dependencies for field items.
EntityReferenceItem::onDependencyRemoval in core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php
Informs the plugin that a dependency of the field will be deleted.
EntityResolverManager::__construct in core/lib/Drupal/Core/Entity/EntityResolverManager.php
Constructs a new EntityRouteAlterSubscriber.
EntityRevisionTest::testRevisionTranslation in core/modules/migrate/tests/src/Kernel/Plugin/EntityRevisionTest.php
Tests that EntityRevision correctly handles revision translations.
EntityRouteProviderSubscriber::__construct in core/lib/Drupal/Core/EventSubscriber/EntityRouteProviderSubscriber.php
Constructs a new EntityRouteProviderSubscriber instance.
EntityTranslationRenderTrait::getEntityTypeManager in core/modules/views/src/Entity/Render/EntityTranslationRenderTrait.php
Returns the entity type manager.
EntityUpdateToPublishableTest::setUp in core/modules/system/tests/src/Functional/Update/EntityUpdateToPublishableTest.php
Overrides WebTestBase::setUp() for update testing.
EntityViewBuilderTest::testNoTemplate in core/tests/Drupal/KernelTests/Core/Entity/EntityViewBuilderTest.php
Tests that viewing an entity without template does not specify #theme.
entity_test_schema_converter_post_update_make_revisionable in core/modules/system/tests/modules/entity_test_schema_converter/entity_test_schema_converter.post_update.php
Update entity_test_update to be revisionable.
FieldConfig::preDelete in core/modules/field/src/Entity/FieldConfig.php
Acts on entities before they are deleted and before hooks are invoked.
FieldStorageConfig::postSave in core/modules/field/src/Entity/FieldStorageConfig.php
Acts on a saved entity before the insert or update hook is invoked.
file_field_views_data_views_data_alter in core/modules/file/file.views.inc
Implements hook_field_views_data_views_data_alter().
hook_config_translation_info in core/modules/config_translation/config_translation.api.php
Introduce dynamic translation tabs for translation of configuration.
HtmlEntityFormController::__construct in core/lib/Drupal/Core/Entity/HtmlEntityFormController.php
Constructs a new \Drupal\Core\Routing\Enhancer\FormEnhancer object.
image_field_views_data_views_data_alter in core/modules/image/image.views.inc
Implements hook_field_views_data_views_data_alter().
KernelTestBase::installEntitySchema in core/tests/Drupal/KernelTests/KernelTestBase.php
Installs the storage schema for a specific entity type.
KernelTestBaseTest::testEnableModulesFixedList in core/modules/simpletest/src/Tests/KernelTestBaseTest.php
Tests that the module list is retained after enabling/installing/disabling.
LinkFieldTest::testEditNonNodeEntityLink in core/modules/link/tests/src/Functional/LinkFieldTest.php
Tests editing a link to a non-node entity.
MediaLibraryAddFormTest::testDifferentAddForm in core/modules/media_library/tests/src/Kernel/MediaLibraryAddFormTest.php
Tests overwriting of the add form.
MediaLibraryAddFormTest::testMediaTypeAddForm in core/modules/media_library/tests/src/Kernel/MediaLibraryAddFormTest.php
Tests the media library add form.
MenuParentFormSelector::__construct in core/lib/Drupal/Core/Menu/MenuParentFormSelector.php
Constructs a \Drupal\Core\Menu\MenuParentFormSelector
MigrateExecutable::attemptMemoryReclaim in core/modules/migrate/src/MigrateExecutable.php
Tries to reclaim memory.
ModuleInstaller::install in core/lib/Drupal/Core/Extension/ModuleInstaller.php
Installs a given list of modules.
ModuleInstaller::uninstall in core/lib/Drupal/Core/Extension/ModuleInstaller.php
Uninstalls a given list of modules.
MoveRevisionMetadataFieldsUpdateTest::testAddingRequiredRevisionMetadataKeys in core/modules/system/tests/src/Functional/Entity/Update/MoveRevisionMetadataFieldsUpdateTest.php
Tests the addition of required revision metadata keys.
NodeNewComments::__construct in core/modules/comment/src/Plugin/views/field/NodeNewComments.php
Constructs a \Drupal\comment\Plugin\views\field\NodeNewComments object.
PublishActionTest::testGetDerivativeDefinitions in core/tests/Drupal/KernelTests/Core/Action/PublishActionTest.php
@covers \Drupal\Core\Action\Plugin\Action\Derivative\EntityPublishedActionDeriver::getDerivativeDefinitions
SaveActionTest::testGetDerivativeDefinitions in core/tests/Drupal/KernelTests/Core/Action/SaveActionTest.php
@covers \Drupal\Core\Action\Plugin\Action\Derivative\EntityChangedActionDeriver::getDerivativeDefinitions
SqlContentEntityStorage::__construct in core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php
Constructs a SqlContentEntityStorage object.
SqlContentEntityStorageSchemaConverterTest::testConvertToRevisionable in core/tests/Drupal/KernelTests/Core/Entity/SqlContentEntityStorageSchemaConverterTest.php
@covers ::convertToRevisionable
StringFormatterTest::setUp in core/modules/field/tests/src/Kernel/String/StringFormatterTest.php
system_update_8901 in core/modules/system/system.install
Update the stored schema data for entity identifier fields.
Tables::__construct in core/lib/Drupal/Core/Entity/Query/Sql/Tables.php
TemporaryJsonapiFileFieldUploader::checkFileUploadAccess in core/modules/jsonapi/src/Controller/TemporaryJsonapiFileFieldUploader.php
Checks if the current user has access to upload the file.
TermKernelTest::testTermPreview in core/modules/taxonomy/tests/src/Kernel/TermKernelTest.php
Tests that a Term is renderable when unsaved (preview).
User::getAnonymousUser in core/modules/user/src/Entity/User.php
Returns an anonymous user entity.
VersionNegotiatorTest::setUp in core/modules/jsonapi/tests/src/Kernel/Revisions/VersionNegotiatorTest.php
views_field_default_views_data in core/modules/views/views.views.inc
Default views data implementation for a field.
views_views_data in core/modules/views/views.views.inc
Implements hook_views_data().
views_views_data_alter in core/modules/views/views.views.inc
Implements hook_views_data_alter().
WidgetWithoutTypesTest::testWidgetWithoutMediaTypes in core/modules/media_library/tests/src/FunctionalJavascript/WidgetWithoutTypesTest.php
Tests that the widget works as expected when media types are deleted.
WorkspaceCRUDTest::setUp in core/modules/workspaces/tests/src/Kernel/WorkspaceCRUDTest.php
WorkspaceIntegrationTest::setUp in core/modules/workspaces/tests/src/Kernel/WorkspaceIntegrationTest.php
WorkspaceMergerTest::setUp in core/modules/workspaces/tests/src/Kernel/WorkspaceMergerTest.php
WorkspaceRevisionMetadataFieldTest::setUp in core/modules/workspaces/tests/src/Functional/WorkspaceRevisionMetadataFieldTest.php
workspaces_post_update_move_association_data in core/modules/workspaces/workspaces.post_update.php
Move the workspace association data to an entity field and a custom table.
WorkspaceTestTrait::initializeWorkspacesModule in core/modules/workspaces/tests/src/Kernel/WorkspaceTestTrait.php
Enables the Workspaces module and creates two workspaces.
_content_translation_form_language_content_settings_form_alter in core/modules/content_translation/content_translation.admin.inc
(proxied) Implements hook_form_FORM_ID_alter().
_views_field_get_entity_type_storage in core/modules/views/views.views.inc
Determines whether the entity type the field appears in is SQL based.

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