72 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().
config_translation_config_translation_info in core/modules/config_translation/config_translation.module
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
@covers \Drupal\Core\Action\Plugin\Action\Derivative\EntityDeleteActionDeriver::getDerivativeDefinitions[[api-linebreak]]
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
EntityReferenceItem::onDependencyRemoval in core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php
EntityReferenceItem::storageSettingsForm in core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php
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.
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.
ImageViewsHooks::fieldViewsDataViewsDataAlter in core/modules/image/src/Hook/ImageViewsHooks.php
Implements hook_field_views_data_views_data_alter().
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.
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.
MediaSettingsDefaultIframeDomainUpdateTest::setUp in core/modules/media/tests/src/Functional/Update/MediaSettingsDefaultIframeDomainUpdateTest.php
MenuBlockTest::testOperationLinks in core/modules/menu_ui/tests/src/Kernel/MenuBlockTest.php
Tests the editing links for SystemMenuBlock.
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.
NodePermissions::__construct in core/modules/node/src/NodePermissions.php
OembedUpdateTest::setUp in core/modules/media/tests/src/Functional/FieldFormatter/OembedUpdateTest.php
PublishActionTest::testGetDerivativeDefinitions in core/tests/Drupal/KernelTests/Core/Action/PublishActionTest.php
@covers \Drupal\Core\Action\Plugin\Action\Derivative\EntityPublishedActionDeriver::getDerivativeDefinitions[[api-linebreak]]
SaveActionTest::testGetDerivativeDefinitions in core/tests/Drupal/KernelTests/Core/Action/SaveActionTest.php
@covers \Drupal\Core\Action\Plugin\Action\Derivative\EntityChangedActionDeriver::getDerivativeDefinitions[[api-linebreak]]
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
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
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().
views_field_default_views_data in core/modules/views/views.views.inc
Default views data implementation for a field.
views_test_entity_reference_views_data_alter in core/modules/views/tests/modules/views_test_entity_reference/views_test_entity_reference.module
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.
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
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
WorkspacesFileItemTest::setUp in core/modules/workspaces/tests/src/Kernel/WorkspacesFileItemTest.php
Set the default field storage backend for fields created during tests.
WorkspaceTestTrait::initializeWorkspacesModule in core/modules/workspaces/tests/src/Kernel/WorkspaceTestTrait.php
Enables the Workspaces module and creates two workspaces.
WorkspaceViewsIntegrationTest::setUp in core/modules/workspaces/tests/src/Kernel/WorkspaceViewsIntegrationTest.php
_content_translation_form_language_content_settings_form_alter in core/modules/content_translation/content_translation.admin.inc
Injects translation settings into the content language settings form.
_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.