You are here

52 calls to Drupal::entityTypeManager() in Drupal 9

aggregator_entity_extra_field_info in core/modules/aggregator/aggregator.module
Implements hook_entity_extra_field_info().
BaseFieldOverride::postDelete in core/lib/Drupal/Core/Field/Entity/BaseFieldOverride.php
Acts on deleted entities before the delete hook is invoked.
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.
config_translation_config_translation_info in core/modules/config_translation/config_translation.module
Implements hook_config_translation_info().
content_moderation_workspace_access in core/modules/content_moderation/content_moderation.module
Implements hook_ENTITY_TYPE_access() for the 'workspace' entity type.
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.
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.
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.
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.
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.
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.
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
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
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.