70 calls to Drupal::entityTypeManager()

BaseFieldOverride::postDelete in core/lib/Drupal/Core/Field/Entity/BaseFieldOverride.php
Acts on deleted entities before the delete hook is invoked.
BlockContentThemeSuggestionsTestHooks::nodeView in core/modules/block_content/tests/modules/block_content_theme_suggestions_test/src/Hook/BlockContentThemeSuggestionsTestHooks.php
Implements hook_node_view().
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.
ConfigImportAllTest::testInstallUninstall in core/modules/config/tests/src/Functional/ConfigImportAllTest.php
Tests that a fixed set of modules can be installed and uninstalled.
ConfigTranslationHooks::configTranslationInfo in core/modules/config_translation/src/Hook/ConfigTranslationHooks.php
Implements hook_config_translation_info().
ContentEntityBase::create in core/lib/Drupal/Core/Entity/ContentEntityBase.php
Constructs a new entity object, without permanently saving it.
ContentTranslationStandardFieldsTest::testFieldTranslatableArticle in core/modules/content_translation/tests/src/Functional/ContentTranslationStandardFieldsTest.php
Tests that translatable fields are being rendered.
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
Tests get derivative definitions.
DrupalTest::testEntityTypeManager in core/tests/Drupal/Tests/Core/DrupalTest.php
Tests the entityTypeManager() method.
EditorManager::__construct in core/modules/editor/src/Plugin/EditorManager.php
Constructs a new \Drupal\Core\Plugin\DefaultPluginManager object.
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.
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.
EntityReferenceItem::storageSettingsForm in core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php
Returns a form for the storage-level settings.
EntityRevisionTest::testRevisionTranslation in core/modules/migrate/tests/src/Kernel/Plugin/EntityRevisionTest.php
Tests that EntityRevision correctly handles revision translations.
EntityViewBuilderTest::testNoTemplate in core/tests/Drupal/KernelTests/Core/Entity/EntityViewBuilderTest.php
Tests that viewing an entity without template does not specify #theme.
EntityWorkspaceConflictConstraintValidatorTest::setUp in core/modules/workspaces/tests/src/Kernel/EntityWorkspaceConflictConstraintValidatorTest.php
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.
FileUpload::checkFileUploadAccess in core/modules/jsonapi/src/Controller/FileUpload.php
Checks if the current user has access to upload the file.
hook_config_translation_info in core/modules/config_translation/config_translation.api.php
Introduce dynamic translation tabs for translation of configuration.
ImageViewsHooks::fieldViewsDataViewsDataAlter in core/modules/image/src/Hook/ImageViewsHooks.php
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.
LanguageSwitchingTest::createHomePage in core/modules/language/tests/src/Functional/LanguageSwitchingTest.php
Create a node and set it as the home pages.
LanguageSwitchingTest::testRestrictedPaths in core/modules/language/tests/src/Functional/LanguageSwitchingTest.php
Test that the language switching block does not expose restricted paths.
LinkFieldTest::doTestEditNonNodeEntityLink 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.
MenuBlockTest::testOperationLinks in core/modules/menu_ui/tests/src/Kernel/MenuBlockTest.php
Tests the editing links for SystemMenuBlock.
MenuDeleteTest::testMenuDelete in core/modules/menu_ui/tests/src/Kernel/MenuDeleteTest.php
Tests menu delete.
ModuleInstaller::doInstall in core/lib/Drupal/Core/Extension/ModuleInstaller.php
Installs a set of modules.
ModuleInstaller::uninstall in core/lib/Drupal/Core/Extension/ModuleInstaller.php
Uninstalls a given list of modules.
NavigationLinkBlockTest::testNavigationLinkBlockVisibility in core/modules/navigation/tests/src/Functional/NavigationLinkBlockTest.php
Test block visibility based on the link access logic.
NodeAccessGrantsCacheContext::__construct in core/modules/node/src/Cache/NodeAccessGrantsCacheContext.php
Constructs a new UserCacheContextBase class.
NodePermissions::__construct in core/modules/node/src/NodePermissions.php
PublishActionTest::testGetDerivativeDefinitions in core/tests/Drupal/KernelTests/Core/Action/PublishActionTest.php
Tests get derivative definitions.
SaveActionTest::testGetDerivativeDefinitions in core/tests/Drupal/KernelTests/Core/Action/SaveActionTest.php
Tests get derivative definitions.
SearchPageValidationTest::testBaseRouteIsValid in core/modules/search/tests/src/Kernel/SearchPageValidationTest.php
Test that the base route stored in definition is correct.
StringFormatterTest::setUp in core/modules/field/tests/src/Kernel/KernelString/StringFormatterTest.php
Tables::__construct in core/lib/Drupal/Core/Entity/Query/Sql/Tables.php
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
ViewsTestEntityReferenceHooks::viewsDataAlter in core/modules/views/tests/modules/views_test_entity_reference/src/Hook/ViewsTestEntityReferenceHooks.php
Implements hook_views_data_alter().
ViewsViewsHooks::fieldViewsData in core/modules/views/src/Hook/ViewsViewsHooks.php
Implements hook_field_views_data().
ViewsViewsHooks::viewsData in core/modules/views/src/Hook/ViewsViewsHooks.php
Implements hook_views_data().
WidgetWithoutTypesTest::testWidgetWithoutMediaTypes in core/modules/media_library/tests/src/FunctionalJavascript/WidgetWithoutTypesTest.php
Tests that the widget works as expected when media types are deleted.
WorkspaceAssociationRevisionTableUpdateTest::testWorkspaceAssociationRevisionTableUpdate in core/modules/workspaces/tests/src/Functional/Update/WorkspaceAssociationRevisionTableUpdateTest.php
Tests that the workspace_association_revision table is created and populated.
WorkspaceAssociationTest::setUp in core/modules/workspaces/tests/src/Kernel/WorkspaceAssociationTest.php
WorkspaceContentTranslationTest::setUp in core/modules/workspaces/tests/src/Kernel/WorkspaceContentTranslationTest.php
WorkspaceCRUDTest::setUp in core/modules/workspaces/tests/src/Kernel/WorkspaceCRUDTest.php
WorkspaceEntityDeleteTest::setUp in core/modules/workspaces/tests/src/Kernel/WorkspaceEntityDeleteTest.php
WorkspaceEntityOperationsTest::setUp in core/modules/workspaces/tests/src/Kernel/WorkspaceEntityOperationsTest.php
WorkspaceFormPersistenceTest::setUp in core/modules/workspaces/tests/src/Kernel/WorkspaceFormPersistenceTest.php
WorkspaceInformationTest::setUp in core/modules/workspaces/tests/src/Kernel/WorkspaceInformationTest.php
WorkspaceIntegrationTest::setUp in core/modules/workspaces/tests/src/Kernel/WorkspaceIntegrationTest.php
WorkspaceMergerTest::setUp in core/modules/workspaces/tests/src/Kernel/WorkspaceMergerTest.php
WorkspacePublisherTest::setUp in core/modules/workspaces/tests/src/Kernel/WorkspacePublisherTest.php
WorkspacesFileItemTest::setUp in core/modules/workspaces/tests/src/Kernel/WorkspacesFileItemTest.php
Set the default field storage backend for fields created during tests.
workspaces_update_11302 in core/modules/workspaces/workspaces.install
Populate the 'workspace_association_revision' table.
WorkspaceTestTrait::initializeWorkspacesModule in core/modules/workspaces/tests/src/Kernel/WorkspaceTestTrait.php
Enables the Workspaces module and creates two workspaces.
WorkspaceTrackerTest::setUp in core/modules/workspaces/tests/src/Kernel/WorkspaceTrackerTest.php
WorkspaceViewsIntegrationTest::setUp in core/modules/workspaces/tests/src/Kernel/WorkspaceViewsIntegrationTest.php

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