Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Drupal.php

323 calls to Drupal::service()

Action::create in core/modules/system/src/Entity/Action.php
Constructs a new entity object, without permanently saving it.
Action::getPluginCollection in core/modules/system/src/Entity/Action.php
Encapsulates the creation of the action's LazyPluginCollection.
AssetResolver::getJsAssets in core/lib/Drupal/Core/Asset/AssetResolver.php
Returns the JavaScript assets for the current response's libraries.
AssetResolver::__construct in core/lib/Drupal/Core/Asset/AssetResolver.php
Constructs a new AssetResolver instance.
authorize.php in core/authorize.php
Administrative script for running authorized file operations.
AutomatedCronHooks::formSystemCronSettingsAlter in core/modules/automated_cron/src/Hook/AutomatedCronHooks.php
Implements hook_form_FORM_ID_alter() for the system_cron_settings() form.
BaseFieldDefinition::create in core/lib/Drupal/Core/Field/BaseFieldDefinition.php
Creates a new field definition.
BaseFieldOverride::preSave in core/lib/Drupal/Core/Field/Entity/BaseFieldOverride.php
Block::conditionPluginManager in core/modules/block/src/Entity/Block.php
Gets the condition plugin manager.
Block::getPluginCollection in core/modules/block/src/Entity/Block.php
Encapsulates the creation of the block's LazyPluginCollection.
BlockViewBuilder::lazyBuilder in core/modules/block/src/BlockViewBuilder.php
#lazy_builder callback; builds a #pre_render-able block.
block_content_add_body_field in core/modules/block_content/block_content.module
Adds the default body field to a block type.
BreakpointManager::__construct in core/modules/breakpoint/src/BreakpointManager.php
Constructs a new BreakpointManager instance.
CategorizingPluginManagerTrait::getModuleExtensionList in core/lib/Drupal/Core/Plugin/CategorizingPluginManagerTrait.php
Returns the module extension list used.
CKEditor5PluginDefinition::getTypedConfig in core/modules/ckeditor5/src/Plugin/CKEditor5PluginDefinition.php
Returns the typed configuration service.
CommentForm::__construct in core/modules/comment/src/CommentForm.php
Constructs a new CommentForm.
CommentHooks::entityView in core/modules/comment/src/Hook/CommentHooks.php
Implements hook_entity_view().
ComplexDataConstraint::__construct in core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ComplexDataConstraint.php
Initializes the constraint with options.
ComputedFileUrl::getValue in core/modules/file/src/ComputedFileUrl.php
Gets the data value.
ConfigConfigurator::getConfigStorage in core/lib/Drupal/Core/Recipe/ConfigConfigurator.php
Gets a config storage object for reading config from the recipe.
ConfigEntityAdapter::getTypedConfigManager in core/lib/Drupal/Core/Entity/Plugin/DataType/ConfigEntityAdapter.php
Gets the typed config manager.
ConfigEntityAdapter::getTypedDataManager in core/lib/Drupal/Core/Entity/Plugin/DataType/ConfigEntityAdapter.php
@todo Remove this in https://www.drupal.org/node/3011137.
ConfigEntityBase::getConfigManager in core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php
Gets the configuration manager.
ConfigEntityBase::getTypedConfig in core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php
Gets the typed config manager.
ConfigFormBase::typedConfigManager in core/lib/Drupal/Core/Form/ConfigFormBase.php
Returns the typed config manager service.
ConfigNamesMapper::__construct in core/modules/config_translation/src/ConfigNamesMapper.php
Constructs a ConfigNamesMapper.
ConfigTranslationContextualLink::mapperManager in core/modules/config_translation/src/Plugin/Menu/ContextualLink/ConfigTranslationContextualLink.php
Gets the mapper manager.
ConfigTranslationLocalTask::mapperManager in core/modules/config_translation/src/Plugin/Menu/LocalTask/ConfigTranslationLocalTask.php
Gets the mapper manager.
Connection::getPagerManager in core/lib/Drupal/Core/Database/Connection.php
Get the pager manager service, if available.
ContentEntityBase::create in core/lib/Drupal/Core/Entity/ContentEntityBase.php
Constructs a new entity object, without permanently saving it.
ContentLanguageSettings::getAllValidDefaultLangcodes in core/modules/language/src/Entity/ContentLanguageSettings.php
Returns all valid values for the `default_langcode` property.
ContentModerationHooks::entityAccess in core/modules/content_moderation/src/Hook/ContentModerationHooks.php
Implements hook_entity_access().
ContentModerationHooks::entityFieldAccess in core/modules/content_moderation/src/Hook/ContentModerationHooks.php
Implements hook_entity_field_access().
ContentModerationState::loadFromModeratedEntity in core/modules/content_moderation/src/Entity/ContentModerationState.php
Loads a content moderation state entity.
ContentTranslationHooks::entityBaseFieldInfo in core/modules/content_translation/src/Hook/ContentTranslationHooks.php
Implements hook_entity_base_field_info().
ContentTranslationHooks::entityBundleInfoAlter in core/modules/content_translation/src/Hook/ContentTranslationHooks.php
Implements hook_entity_bundle_info_alter().
ContentTranslationHooks::entityExtraFieldInfo in core/modules/content_translation/src/Hook/ContentTranslationHooks.php
Implements hook_entity_extra_field_info().
ContentTranslationHooks::entityPresave in core/modules/content_translation/src/Hook/ContentTranslationHooks.php
Implements hook_entity_presave().
ContentTranslationHooks::languageFallbackCandidatesEntityViewAlter in core/modules/content_translation/src/Hook/ContentTranslationHooks.php
Implements hook_language_fallback_candidates_OPERATION_alter().
ContentTranslationHooks::viewsDataAlter in core/modules/content_translation/src/Hook/ContentTranslationHooks.php
Implements hook_views_data_alter().
content_translation_form_language_content_settings_submit in core/modules/content_translation/content_translation.admin.inc
Form submission handler for content_translation_admin_settings_form().
ContextAwarePluginAssignmentTrait::contextHandler in core/lib/Drupal/Core/Plugin/ContextAwarePluginAssignmentTrait.php
Wraps the context handler.
ContextAwarePluginManagerTrait::contextHandler in core/lib/Drupal/Core/Plugin/Context/ContextAwarePluginManagerTrait.php
Wraps the context handler.
ContextualLinks::contextualLinkManager in core/modules/contextual/src/Element/ContextualLinks.php
Wraps the contextual link manager.
Database::getDriverList in core/lib/Drupal/Core/Database/Database.php
Returns the list provider for available database drivers.
DatabaseDriver::load in core/lib/Drupal/Core/Extension/DatabaseDriver.php
Loads the main extension file, if any.
DateFormat::getTranslationElement in core/modules/config_translation/src/FormElement/DateFormat.php
Returns the translation form element for a given configuration definition.
demo_umami_toolbar in core/profiles/demo_umami/demo_umami.profile
Implements hook_toolbar().
DeprecatedServicePropertyTrait::__get in core/lib/Drupal/Core/DependencyInjection/DeprecatedServicePropertyTrait.php
Allows to access deprecated/removed properties.
drupal_check_module in core/includes/install.inc
Checks a module's requirements.
drupal_flush_all_caches in core/includes/common.inc
Rebuilds the container, flushes all persistent caches, resets all variables, and rebuilds all data structures.
drupal_install_system in core/includes/install.inc
Installs the system module.
drupal_load_updates in core/includes/install.inc
Loads .install files for installed modules to initialize the update system.
Editor::editorPluginManager in core/modules/editor/src/Entity/Editor.php
Returns the editor plugin manager.
EditorHooks::fileDownload in core/modules/editor/src/Hook/EditorHooks.php
Implements hook_file_download().
EditorHooks::formFilterFormatFormAlter in core/modules/editor/src/Hook/EditorHooks.php
Implements hook_form_BASE_FORM_ID_alter() for \Drupal\filter\FilterFormatEditForm.
Element::getTypedDataManager in core/lib/Drupal/Core/Config/Schema/Element.php
Gets the typed configuration manager.
EntityAutocomplete::getEntityLabels in core/lib/Drupal/Core/Entity/Element/EntityAutocomplete.php
Converts an array of entity objects into a string of entity labels.
EntityBase::create in core/lib/Drupal/Core/Entity/EntityBase.php
Constructs a new entity object, without permanently saving it.
EntityBase::entityTypeBundleInfo in core/lib/Drupal/Core/Entity/EntityBase.php
Gets the entity type bundle info service.
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.
EntityBase::uuidGenerator in core/lib/Drupal/Core/Entity/EntityBase.php
Gets the UUID generator.
EntityDeleteForm::getConfigManager in core/lib/Drupal/Core/Entity/EntityDeleteForm.php
Gets the configuration manager.
EntityDisplayBase::__construct in core/lib/Drupal/Core/Entity/EntityDisplayBase.php
Constructs an Entity object.
EntityFormDisplay::__construct in core/lib/Drupal/Core/Entity/Entity/EntityFormDisplay.php
Constructs an Entity object.
EntityPermissionsForm::__construct in core/modules/user/src/Form/EntityPermissionsForm.php
Constructs a new EntityPermissionsForm.
EntityReferenceItem::calculateDependencies in core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php
EntityReferenceItem::fieldSettingsSummary in core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php
EntityReferenceItem::generateSampleValue in core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php
EntityReferenceItem::onDependencyRemoval in core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php
EntityViewDisplay::__construct in core/lib/Drupal/Core/Entity/Entity/EntityViewDisplay.php
Constructs an Entity object.
ExtensionInstallStorage::getAllFolders in core/lib/Drupal/Core/Config/ExtensionInstallStorage.php
Returns a map of all config object names and their folders.
Feed::buildResponse in core/modules/views/src/Plugin/views/display/Feed.php
Builds up a response with the rendered view as content.
FieldAPIHandlerTrait::getEntityFieldManager in core/modules/views/src/FieldAPIHandlerTrait.php
Returns the entity field manager.
FieldConfig::preDelete in core/modules/field/src/Entity/FieldConfig.php
Acts on entities before they are deleted and before hooks are invoked.
FieldConfig::preSave in core/modules/field/src/Entity/FieldConfig.php
Overrides \Drupal\Core\Entity\EntityBase::preSave().
FieldConfigBase::calculateDependencies in core/lib/Drupal/Core/Field/FieldConfigBase.php
Calculates dependencies and stores them in the dependency property.
FieldConfigBase::onDependencyRemoval in core/lib/Drupal/Core/Field/FieldConfigBase.php
Informs the entity that entities it depends on will be deleted.
FieldDefinition::setFieldStorageDefinition in core/lib/Drupal/Core/Field/FieldDefinition.php
Set the field storage definition.
FieldHooks::fieldConfigCreate in core/modules/field/src/Hook/FieldHooks.php
Implements hook_ENTITY_TYPE_create() for 'field_config'.
FieldHooks::fieldConfigPresave in core/modules/field/src/Hook/FieldHooks.php
Implements hook_ENTITY_TYPE_presave() for 'field_config'.
FieldHooks::fieldStorageConfigUpdate in core/modules/field/src/Hook/FieldHooks.php
Implements hook_ENTITY_TYPE_update() for 'field_storage_config'.
FieldHooks::help in core/modules/field/src/Hook/FieldHooks.php
Implements hook_help().
FieldItemList::defaultValueWidget in core/lib/Drupal/Core/Field/FieldItemList.php
Returns the widget object used in default value form.
FieldPluginBase::getRenderer in core/modules/views/src/Plugin/views/field/FieldPluginBase.php
Returns the render API renderer.
FieldStorageConfig::getCardinality in core/modules/field/src/Entity/FieldStorageConfig.php
Returns the maximum number of items allowed for the field.
FieldStorageConfig::getSettings in core/modules/field/src/Entity/FieldStorageConfig.php
Returns the storage settings.
FieldStorageConfig::preDelete in core/modules/field/src/Entity/FieldStorageConfig.php
Acts on entities before they are deleted and before hooks are invoked.
FieldStorageConfig::preSave in core/modules/field/src/Entity/FieldStorageConfig.php
Overrides \Drupal\Core\Entity\EntityBase::preSave().
FieldStorageConfig::preSaveNew in core/modules/field/src/Entity/FieldStorageConfig.php
Prepares saving a new field definition.
FieldStorageConfigEditForm::getEnforcedCardinality in core/modules/field_ui/src/Form/FieldStorageConfigEditForm.php
Returns the cardinality enforced by the field type.
field_form_field_config_edit_form_entity_builder in core/modules/field/field.module
Entity form builder for field config edit form.
field_purge_batch in core/modules/field/field.purge.inc
Purges a batch of deleted Field API data, field storages, or fields.
field_purge_field in core/modules/field/field.purge.inc
Purges a field record from the database.
field_purge_field_storage in core/modules/field/field.purge.inc
Purges a field record from the database.
File::createFileUrl in core/modules/file/src/Entity/File.php
Creates a file URL for the URI of this file.
FileHooks::cron in core/modules/file/src/Hook/FileHooks.php
Implements hook_cron().
FileHooks::fileDownload in core/modules/file/src/Hook/FileHooks.php
Implements hook_file_download().
FileItem::generateSampleValue in core/modules/file/src/Plugin/Field/FieldType/FileItem.php
FileMediaFormatterBase::isApplicable in core/modules/file/src/Plugin/Field/FieldFormatter/FileMediaFormatterBase.php
Returns if the formatter can be used for the provided field.
FileStorage::getFileSystem in core/lib/Drupal/Core/Config/FileStorage.php
Returns file system service.
file_get_file_references in core/modules/file/file.module
Retrieves a list of references to a file.
file_save_upload in core/modules/file/file.module
Saves file uploads to a new location.
FilterCaption::__construct in core/modules/filter/src/Plugin/Filter/FilterCaption.php
Constructs a new FilterCaption.
FilteredPluginManagerTrait::moduleHandler in core/lib/Drupal/Core/Plugin/FilteredPluginManagerTrait.php
Wraps the module handler.
FilteredPluginManagerTrait::themeManager in core/lib/Drupal/Core/Plugin/FilteredPluginManagerTrait.php
Wraps the theme manager.
FilterFormat::filters in core/modules/filter/src/Entity/FilterFormat.php
Returns the ordered collection of filter plugin instances or an individual plugin instance.
FormBase::getRequest in core/lib/Drupal/Core/Form/FormBase.php
Gets the request object.
FormElementBase::processAutocomplete in core/lib/Drupal/Core/Render/Element/FormElementBase.php
Adds autocomplete functionality to elements.
Heading::validChoices in core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/Heading.php
Computes all valid choices for the "enabled_headings" setting.
hook_config_translation_info in core/modules/config_translation/config_translation.api.php
Introduce dynamic translation tabs for translation of configuration.
hook_field_ui_preconfigured_options_alter in core/modules/field/field.api.php
Perform alterations on preconfigured field options.
hook_file_url_alter in core/lib/Drupal/Core/File/file.api.php
Alter the URL to a file.
hook_render_template in core/lib/Drupal/Core/Render/theme.api.php
Render a template using the theme engine.
Icon::preRenderIcon in core/lib/Drupal/Core/Render/Element/Icon.php
Icon element pre render callback.
ImageItem::generateSampleValue in core/modules/image/src/Plugin/Field/FieldType/ImageItem.php
ImageStyle::buildUrl in core/modules/image/src/Entity/ImageStyle.php
Returns the URL of this image derivative for an original image path or URI.
ImageStyle::flush in core/modules/image/src/Entity/ImageStyle.php
Flushes cached media for this style.
ImageStyle::getImageEffectPluginManager in core/modules/image/src/Entity/ImageStyle.php
Returns the image effect plugin manager.
ImageStyle::getImageFactory in core/modules/image/src/Entity/ImageStyle.php
Returns the image factory.
ImageStyle::getStreamWrapperManager in core/modules/image/src/Entity/ImageStyle.php
Gets the stream wrapper manager service.
ImageUrlFormatter::viewElements in core/modules/image/src/Plugin/Field/FieldFormatter/ImageUrlFormatter.php
Builds a renderable array for a field value.
ImageWidget::__construct in core/modules/image/src/Plugin/Field/FieldWidget/ImageWidget.php
Constructs an ImageWidget object.
image_uninstall in core/modules/image/image.install
Implements hook_uninstall().
InlineTemplate::preRenderInlineTemplate in core/lib/Drupal/Core/Render/Element/InlineTemplate.php
Renders a twig string directly.
InstallStorage::getAllFolders in core/lib/Drupal/Core/Config/InstallStorage.php
Returns a map of all config object names and their folders.
install_begin_request in core/includes/install.core.inc
Begins an installation request, modifying the installation state as needed.
install_bootstrap_full in core/includes/install.core.inc
Performs a full bootstrap of Drupal during installation.
install_check_requirements in core/includes/install.core.inc
Checks installation requirements and reports any errors.
install_check_translations in core/includes/install.core.inc
Checks installation requirements and reports any errors.
install_config_import_batch in core/includes/install.core.inc
Creates a batch for the config importer to process.
install_config_revert_install_changes in core/includes/install.core.inc
Reverts configuration if hook_install() implementations have made changes.
install_display_output in core/includes/install.core.inc
Displays themed installer output and ends the page request.
install_profile_info in core/includes/install.inc
Retrieves information about an installation profile from its .info.yml file.
install_retrieve_file in core/includes/install.core.inc
Attempts to get a file using a HTTP request and to store it locally.
install_select_profile in core/includes/install.core.inc
Selects which profile to install.
install_verify_completed_task in core/includes/install.core.inc
Verifies and returns the last installation task that was completed.
install_verify_database_ready in core/includes/install.core.inc
Verify that the database is ready (no existing Drupal installation).
LanguageConfigFactoryOverride::installLanguageOverrides in core/modules/language/src/Config/LanguageConfigFactoryOverride.php
LanguageHooks::modulesInstalled in core/modules/language/src/Hook/LanguageHooks.php
Implements hook_modules_installed().
LanguageHooks::tourTipsAlter in core/modules/language/src/Hook/LanguageHooks.php
Implements hook_tour_tips_alter().
LayoutBuilderContextTrait::contextRepository in core/modules/layout_builder/src/Context/LayoutBuilderContextTrait.php
Gets the context repository service.
LayoutBuilderEntityViewDisplay::contextRepository in core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplay.php
Wraps the context repository service.
LayoutBuilderEntityViewDisplay::sectionStorageManager in core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplay.php
Gets the section storage manager.
LayoutBuilderEntityViewDisplay::__construct in core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplay.php
Constructs an Entity object.
LayoutBuilderHooks::entityViewAlter in core/modules/layout_builder/src/Hook/LayoutBuilderHooks.php
Implements hook_entity_view_alter().
LayoutBuilderHooks::fieldConfigDelete in core/modules/layout_builder/src/Hook/LayoutBuilderHooks.php
Implements hook_field_config_delete().
LayoutBuilderHooks::fieldConfigInsert in core/modules/layout_builder/src/Hook/LayoutBuilderHooks.php
Implements hook_field_config_insert().
LayoutDefinition::getIconBuilder in core/lib/Drupal/Core/Layout/LayoutDefinition.php
Wraps the icon builder.
LayoutEntityHelperTrait::sectionStorageManager in core/modules/layout_builder/src/LayoutEntityHelperTrait.php
Gets the section storage manager.
Link::getLinkGenerator in core/lib/Drupal/Core/Link.php
Returns the link generator.
Link::preRenderLink in core/lib/Drupal/Core/Render/Element/Link.php
Pre-render callback: Renders a link into #markup.
Local::factory in core/lib/Drupal/Core/FileTransfer/Local.php
Defines a factory method for this class.
Local::removeDirectoryJailed in core/lib/Drupal/Core/FileTransfer/Local.php
Removes a directory.
LocalAwareRedirectResponseTrait::getRequestContext in core/lib/Drupal/Core/Routing/LocalAwareRedirectResponseTrait.php
Returns the request context.
locale_translation_download_source in core/modules/locale/locale.batch.inc
Downloads a translation file from a remote server.
locale_uninstall in core/modules/locale/locale.install
Implements hook_uninstall().
LocalStream::getFileSystem in core/lib/Drupal/Core/StreamWrapper/LocalStream.php
Returns file system service.
LocalStream::mkdir in core/lib/Drupal/Core/StreamWrapper/LocalStream.php
Create a directory.
LocalStream::rmdir in core/lib/Drupal/Core/StreamWrapper/LocalStream.php
Removes a directory.
LocalTaskDefault::routeProvider in core/lib/Drupal/Core/Menu/LocalTaskDefault.php
Returns the route provider.
LoggerChannelTrait::getLogger in core/lib/Drupal/Core/Logger/LoggerChannelTrait.php
Gets the logger for a specific channel.
MachineName::processMachineName in core/lib/Drupal/Core/Render/Element/MachineName.php
Processes a machine-readable name form element.
ManagedFile::fileUsage in core/modules/file/src/Element/ManagedFile.php
Wraps the file usage service.
ManagedFile::uploadAjaxCallback in core/modules/file/src/Element/ManagedFile.php
#ajax callback for managed_file upload forms.
MediaHooks::fieldUiPreconfiguredOptionsAlter in core/modules/media/src/Hook/MediaHooks.php
Implements hook_field_ui_preconfigured_options_alter().
MediaType::sourcePluginCollection in core/modules/media/src/Entity/MediaType.php
Returns media source lazy plugin collection.
media_install in core/modules/media/media.install
Implements hook_install().
media_requirements in core/modules/media/media.install
Implements hook_requirements().
Menu::preDelete in core/modules/system/src/Entity/Menu.php
Acts on entities before they are deleted and before hooks are invoked.
MenuLinkContent::postSave in core/modules/menu_link_content/src/Entity/MenuLinkContent.php
Acts on a saved entity before the insert or update hook is invoked.
MenuLinkContent::preDelete in core/modules/menu_link_content/src/Entity/MenuLinkContent.php
Acts on entities before they are deleted and before hooks are invoked.
MenuLinkContentHooks::entityPredelete in core/modules/menu_link_content/src/Hook/MenuLinkContentHooks.php
Implements hook_entity_predelete().
MenuLinkDefaultForm::__construct in core/lib/Drupal/Core/Menu/Form/MenuLinkDefaultForm.php
Constructs a new \Drupal\Core\Menu\Form\MenuLinkDefaultForm.
MenuUiHooks::formNodeFormAlter in core/modules/menu_ui/src/Hook/MenuUiHooks.php
Implements hook_form_BASE_FORM_ID_alter() for \Drupal\node\NodeForm.
MenuUiHooks::formNodeTypeFormAlter in core/modules/menu_ui/src/Hook/MenuUiHooks.php
Implements hook_form_FORM_ID_alter() for \Drupal\node\NodeTypeForm.
MigrateDrupalHooks::migrationPluginsAlter in core/modules/migrate_drupal/src/Hook/MigrateDrupalHooks.php
Implements hook_migration_plugins_alter().
MigrateExecutable::getEventDispatcher in core/modules/migrate/src/MigrateExecutable.php
Gets the event dispatcher.
MigrateUpgradeImportBatch::run in core/modules/migrate_drupal_ui/src/Batch/MigrateUpgradeImportBatch.php
Runs a single migrate batch import.
MigrationConfigurationTrait::getConfigFactory in core/modules/migrate_drupal/src/MigrationConfigurationTrait.php
Gets the config factory service.
MigrationConfigurationTrait::getMigrationPluginManager in core/modules/migrate_drupal/src/MigrationConfigurationTrait.php
Gets the migration plugin manager service.
MigrationConfigurationTrait::getState in core/modules/migrate_drupal/src/MigrationConfigurationTrait.php
Gets the state service.
ModerationStateFieldItemList::getModerationStateId in core/modules/content_moderation/src/Plugin/Field/ModerationStateFieldItemList.php
Gets the moderation state ID linked to a content entity revision.
ModerationStateFieldItemList::loadContentModerationStateRevision in core/modules/content_moderation/src/Plugin/Field/ModerationStateFieldItemList.php
Load the content moderation state revision associated with an entity.
ModerationStateFieldItemList::updateModeratedEntity in core/modules/content_moderation/src/Plugin/Field/ModerationStateFieldItemList.php
Updates the default revision flag and the publishing status of the entity.
Module::isInstalled in core/lib/Drupal/Core/Updater/Module.php
Checks if the project is installed.
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.
ModuleInstaller::__construct in core/lib/Drupal/Core/Extension/ModuleInstaller.php
Constructs a new ModuleInstaller instance.
NavigationHooks::blockBuildLocalTasksBlockAlter in core/modules/navigation/src/Hook/NavigationHooks.php
Implements hook_block_build_BASE_BLOCK_ID_alter().
NavigationHooks::pageTop in core/modules/navigation/src/Hook/NavigationHooks.php
Implements hook_page_top().
Node::preDelete in core/modules/node/src/Entity/Node.php
Acts on entities before they are deleted and before hooks are invoked.
NodeHooks1::queryNodeAccessAlter in core/modules/node/src/Hook/NodeHooks1.php
Implements hook_query_TAG_alter().
NodeViewsData::getViewsData in core/modules/node/src/NodeViewsData.php
Returns views data for the entity type.
node_add_body_field in core/modules/node/node.module
Adds the default body field to a node type.
NoSourcePluginDecorator::getDefinitions in core/modules/migrate/src/Plugin/NoSourcePluginDecorator.php
Gets the definition of all plugins for this type.
OEmbed::validateConfigurationForm in core/modules/media/src/Plugin/media/Source/OEmbed.php
Form validation handler.
OpenModalDialogWithUrl::getBaseUrl in core/lib/Drupal/Core/Ajax/OpenModalDialogWithUrl.php
Gets the complete base URL.
package_manager_requirements in core/modules/package_manager/package_manager.install
Implements hook_requirements().
PathAlias::postDelete in core/modules/path_alias/src/Entity/PathAlias.php
Acts on deleted entities before the delete hook is invoked.
PathAlias::postSave in core/modules/path_alias/src/Entity/PathAlias.php
Acts on a saved entity before the insert or update hook is invoked.
PathBasedBreadcrumbBuilder::__construct in core/modules/system/src/PathBasedBreadcrumbBuilder.php
Constructs the PathBasedBreadcrumbBuilder.
PathFieldItemList::computeValue in core/modules/path/src/Plugin/Field/FieldType/PathFieldItemList.php
Computes the values for an item list.
PathPluginBase::remove in core/modules/views/src/Plugin/views/display/PathPluginBase.php
Reacts on deleting a display.
path_alias_post_update_update_path_alias_revision_indexes in core/modules/path_alias/path_alias.post_update.php
Update the path_alias_revision indices.
Permission::__construct in core/modules/user/src/Plugin/views/access/Permission.php
Constructs a Permission object.
Permissions::__construct in core/modules/user/src/Plugin/views/filter/Permissions.php
Constructs a Permissions object.
PluginBase::getRenderer in core/modules/views/src/Plugin/views/PluginBase.php
Returns the render API renderer.
PluginDependencyTrait::themeHandler in core/lib/Drupal/Core/Plugin/PluginDependencyTrait.php
Wraps the theme handler.
ProjectInfo::getAvailableProjects in core/modules/package_manager/src/ProjectInfo.php
Gets the available projects.
ProjectSecurityRequirement::getDateEndRequirement in core/modules/update/src/ProjectSecurityRequirement.php
Gets the security coverage requirement based on an end date.
Recipe::createFromDirectory in core/lib/Drupal/Core/Recipe/Recipe.php
Creates a recipe object from the provided path.
Recipe::validateConfigActions in core/lib/Drupal/Core/Recipe/Recipe.php
Validates that the corresponding extension is enabled for a config action.
RecipeRunner::processConfiguration in core/lib/Drupal/Core/Recipe/RecipeRunner.php
Creates configuration and applies configuration actions.
RecipeRunner::processContent in core/lib/Drupal/Core/Recipe/RecipeRunner.php
Creates content contained in a recipe.
ReindexConfirm::submitForm in core/modules/search/src/Form/ReindexConfirm.php
Form submission handler.
ResourceIdentifier::fromEntity in core/modules/jsonapi/src/JsonApiResource/ResourceIdentifier.php
Creates a ResourceIdentifier object.
ResourceIdentifier::getResourceType in core/modules/jsonapi/src/JsonApiResource/ResourceIdentifier.php
Gets the resource identifier's JSON:API resource type.
ResourceIdentifier::getVirtualOrMissingResourceIdentifier in core/modules/jsonapi/src/JsonApiResource/ResourceIdentifier.php
Creates a ResourceIdentifier for a NULL or FALSE entity reference item.
ResourceIdentifier::toResourceIdentifier in core/modules/jsonapi/src/JsonApiResource/ResourceIdentifier.php
Creates a ResourceIdentifier object.
RestExport::buildResponse in core/modules/rest/src/Plugin/views/display/RestExport.php
Builds up a response with the rendered view as content.
RestResourceConfig::getResourcePluginManager in core/modules/rest/src/Entity/RestResourceConfig.php
Returns the resource plugin manager.
RouteProcessorCsrf::__construct in core/lib/Drupal/Core/Access/RouteProcessorCsrf.php
Constructs a RouteProcessorCsrf object.
SearchHooks::cron in core/modules/search/src/Hook/SearchHooks.php
Implements hook_cron().
SearchPage::configFactory in core/modules/search/src/Entity/SearchPage.php
Wraps the config factory.
SearchPage::postDelete in core/modules/search/src/Entity/SearchPage.php
Acts on deleted entities before the delete hook is invoked.
SearchPage::routeBuilder in core/modules/search/src/Entity/SearchPage.php
Wraps the route builder.
SearchPage::searchPageRepository in core/modules/search/src/Entity/SearchPage.php
Wraps the search page repository.
SearchPage::searchPluginManager in core/modules/search/src/Entity/SearchPage.php
Wraps the search plugin manager.
SearchQuery::parseSearchExpression in core/modules/search/src/SearchQuery.php
Parses the search query into SQL conditions.
search_requirements in core/modules/search/search.install
Implements hook_requirements().
Section::contextHandler in core/modules/layout_builder/src/Section.php
Wraps the context handler.
Section::layoutPluginManager in core/modules/layout_builder/src/Section.php
Wraps the layout plugin manager.
SectionComponent::contextHandler in core/modules/layout_builder/src/SectionComponent.php
Wraps the context handler.
SectionComponent::eventDispatcher in core/modules/layout_builder/src/SectionComponent.php
Wraps the event dispatcher.
SectionComponent::pluginManager in core/modules/layout_builder/src/SectionComponent.php
Wraps the component plugin manager.
settings_tray_preprocess_block in core/modules/settings_tray/settings_tray.module
Implements hook_preprocess_HOOK() for block templates.
SqlContentEntityStorageSchema::deletedFieldsRepository in core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php
Gets the deleted fields repository.
StageBase::postApply in core/modules/package_manager/src/StageBase.php
Performs post-apply tasks.
StatusCheckTrait::runStatusCheck in core/modules/package_manager/src/StatusCheckTrait.php
Runs a status check for a stage and returns the results, if any.
StorageComparer::__construct in core/lib/Drupal/Core/Config/StorageComparer.php
Constructs the Configuration storage comparer.
StringTranslationTrait::getStringTranslation in core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php
Gets the string translation service.
SystemHooks::cron in core/modules/system/src/Hook/SystemHooks.php
Implements hook_cron().
SystemHooks::fileDownload in core/modules/system/src/Hook/SystemHooks.php
Implements hook_file_download().
SystemHooks::jsSettingsAlter in core/modules/system/src/Hook/SystemHooks.php
Implements hook_js_settings_alter().
SystemHooks::jsSettingsBuild in core/modules/system/src/Hook/SystemHooks.php
Implements hook_js_settings_build().
SystemHooks::pageTop in core/modules/system/src/Hook/SystemHooks.php
Implements hook_page_top().
SystemTokensHooks::tokenInfo in core/modules/system/src/Hook/SystemTokensHooks.php
Implements hook_token_info().
system_check_directory in core/modules/system/system.module
Checks the existence of the directory specified in $form_element.
system_requirements in core/modules/system/system.install
Implements hook_requirements().
Tables::__construct in core/lib/Drupal/Core/Entity/Query/Sql/Tables.php
Tables::__construct in core/modules/workspaces/src/EntityQuery/Tables.php
template_preprocess_comment in core/modules/comment/comment.module
Prepares variables for comment templates.
template_preprocess_file_link in core/modules/file/file.module
Prepares variables for file link templates.
template_preprocess_image in core/includes/theme.inc
Prepares variables for image templates.
template_preprocess_image_style_preview in core/modules/image/image.admin.inc
Prepares variables for image style preview templates.
template_preprocess_pager in core/includes/theme.inc
Prepares variables for pager templates.
template_preprocess_system_modules_details in core/modules/system/system.admin.inc
Prepares variables for the module details templates.
template_preprocess_time in core/includes/theme.inc
Prepares variables for time templates.
template_preprocess_views_mini_pager in core/modules/views/views.theme.inc
Prepares variables for views mini-pager templates.
TextFormat::elementInfo in core/modules/filter/src/Element/TextFormat.php
Wraps the element info service.
TextProcessed::getRenderer in core/modules/text/src/TextProcessed.php
Returns the renderer service.
ThemeSettingsForm::buildForm in core/modules/system/src/Form/ThemeSettingsForm.php
theme_get_setting in core/includes/theme.inc
Retrieves a setting for the current theme or for a given theme.
Toolbar::breakpointManager in core/modules/toolbar/src/Element/Toolbar.php
Wraps the breakpoint manager.
ToolbarController::preRenderAdministrationTray in core/modules/toolbar/src/Controller/ToolbarController.php
Renders the toolbar's administration tray.
ToolbarController::preRenderGetRenderedSubtrees in core/modules/toolbar/src/Controller/ToolbarController.php
#pre_render callback for toolbar_get_rendered_subtrees().
toolbar_get_rendered_subtrees in core/modules/toolbar/toolbar.module
Returns the rendered subtree of each top-level toolbar link.
TopBar::topBarItemManager in core/modules/navigation/src/Element/TopBar.php
Wraps the top bar item manager.
TranslatableMarkup::getStringTranslation in core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php
Gets the string translation service.
twig_render_template in core/themes/engines/twig/twig.engine
Implements hook_render_template().
TypedConfigManager::__construct in core/lib/Drupal/Core/Config/TypedConfigManager.php
Creates a new typed configuration manager.
UpdateHooks::pageTop in core/modules/update/src/Hook/UpdateHooks.php
Implements hook_page_top().
UpdateHooks::verifyUpdateArchive in core/modules/update/src/Hook/UpdateHooks.php
Implements hook_verify_update_archive().
Updater::findInfoFile in core/lib/Drupal/Core/Updater/Updater.php
Determines what the most important (or only) info file is in a directory.
UpdateReady::submitForm in core/modules/update/src/Form/UpdateReady.php
Form submission handler.
update_get_update_function_list in core/includes/update.inc
Returns an organized list of update functions for a set of modules.
update_get_update_list in core/includes/update.inc
Returns a list of all the pending database updates.
update_manager_local_transfers_allowed in core/modules/update/update.manager.inc
Determines if file transfers will be performed locally.
update_retrieve_dependencies in core/includes/update.inc
Invokes hook_update_dependencies() in all installed modules.
Url::accessManager in core/lib/Drupal/Core/Url.php
Url::unroutedUrlAssembler in core/lib/Drupal/Core/Url.php
Gets the unrouted URL assembler for non-Drupal URLs.
User::postSave in core/modules/user/src/Entity/User.php
Acts on a saved entity before the insert or update hook is invoked.
UserData::__construct in core/modules/user/src/Plugin/views/field/UserData.php
Constructs a UserData object.
UserPermissionsForm::__construct in core/modules/user/src/Form/UserPermissionsForm.php
Constructs a new UserPermissionsForm.
user_login_finalize in core/modules/user/user.module
Finalizes the login process and logs in a user.
UuidItem::applyDefaultValue in core/lib/Drupal/Core/Field/Plugin/Field/FieldType/UuidItem.php
Applies the default value.
ViewExecutable::__construct in core/modules/views/src/ViewExecutable.php
Constructs a new ViewExecutable object.
ViewExecutable::__wakeup in core/modules/views/src/ViewExecutable.php
Magic method implementation to unserialize the view executable.
ViewExecutableFactory::__construct in core/modules/views/src/ViewExecutableFactory.php
Constructs a new ViewExecutableFactory.
Views::analyzer in core/modules/views/src/Views.php
Returns the view analyzer.
Views::executableFactory in core/modules/views/src/Views.php
Returns the view executable factory service.
Views::handlerManager in core/modules/views/src/Views.php
Returns the plugin manager for a certain views handler type.
Views::pluginManager in core/modules/views/src/Views.php
Returns the plugin manager for a certain views plugin type.
Views::t in core/modules/views/src/Views.php
Translates a string to the current language or to a given language.
Views::viewsData in core/modules/views/src/Views.php
Returns the views data service.
Views::viewsDataHelper in core/modules/views/src/Views.php
Returns the views data helper service.
ViewsFormBase::ajaxFormWrapper in core/modules/views_ui/src/Form/Ajax/ViewsFormBase.php
Wrapper for handling AJAX forms.
views_entity_field_label in core/modules/views/views.views.inc
Returns the label of a certain field.
views_ui_add_ajax_trigger in core/modules/views_ui/admin.inc
Converts a form element in the add view wizard to be AJAX-enabled.
Workflow::getPluginCollection in core/modules/workflows/src/Entity/Workflow.php
Encapsulates the creation of the workflow's plugin collection.
Workspace::postDelete in core/modules/workspaces/src/Entity/Workspace.php
Acts on deleted entities before the delete hook is invoked.
WorkspaceSafeFormTrait::getWorkspaceInfo in core/lib/Drupal/Core/Entity/Form/WorkspaceSafeFormTrait.php
Retrieves the workspace information service.
WorkspacesHooks::modulePreinstall in core/modules/workspaces/src/Hook/WorkspacesHooks.php
Implements hook_module_preinstall().
_batch_progress_page in core/includes/batch.inc
Outputs a batch processing page.
_content_moderation_views_data_object in core/modules/content_moderation/content_moderation.views.inc
Creates a ViewsData object to respond to views hooks.
_content_translation_form_language_content_settings_form_alter in core/modules/content_translation/content_translation.admin.inc
(proxied) Implements hook_form_FORM_ID_alter().
_content_translation_install_field_storage_definitions in core/modules/content_translation/content_translation.module
Installs Content Translation's fields for a given entity type.
_drupal_maintenance_theme in core/includes/theme.maintenance.inc
Sets up the theming system for maintenance page.
_drupal_maintenance_theme in core/includes/theme.maintenance.inc
Sets up the theming system for maintenance page.
_editor_get_formatted_text_fields in core/modules/editor/editor.module
Determines the formatted text fields on an entity.
_filter_html_image_secure_process in core/modules/filter/filter.module
Process callback for local image filter.
_install_config_locale_overrides in core/includes/install.core.inc
Creates a batch to process config translations after installing from config.
_install_config_locale_overrides_process_batch in core/includes/install.core.inc
Batch operation callback for install_config_locale_overrides().
_locale_rebuild_js in core/modules/locale/locale.module
(Re-)Creates the JavaScript translation file for a language.
_locale_refresh_configuration in core/modules/locale/locale.module
Refreshes configuration after string translations have been updated.
_menu_link_content_update_path_alias in core/modules/menu_link_content/menu_link_content.module
Helper function to update plugin definition using internal scheme.
_responsive_image_image_style_url in core/modules/responsive_image/responsive_image.module
Wrapper around image_style_url() so we can return an empty image.
_search_find_match_with_simplify in core/modules/search/search.module
Finds an appropriate keyword in text.
_system_advisories_requirements in core/modules/system/system.install
Display requirements from security advisories.
_update_ckeditor5_html_filter in core/modules/ckeditor5/ckeditor5.module
AJAX callback handler for filter_format_form().
_update_fix_missing_schema in core/includes/update.inc
Helper to detect and fix 'missing' schema information.
RSS feed
Powered by Drupal