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

Breadcrumb

  1. Drupal Core 11.1.x

Services - Drupal 11.1.x - Drupal Core

Primary tabs

  • Drupal 11.1.x

Introduction to services

A "service" (such as accessing the database, sending email, or translating user interface text) can be defined by a module or Drupal core. Defining a service means giving it a name and designating a default class to provide the service; ideally, there should also be an interface that defines the methods that may be called. Services are collected into the Dependency Injection Container, and can be overridden to use different classes or different instantiation by modules. See the Services and Dependency Injection Container topic for details.

Some services have tags, which are defined in the service definition. Tags are used to define a group of related services, or to specify some aspect of how the service behaves. See the Service Tags topic for more information.

See also

Services and Dependency Injection Container

Service Tags

File

core/core.api.php, line 900

Title File name Summary All service tags
update.fetcher core/modules/update/update.services.yml Drupal\update\UpdateFetcher
update.manager core/modules/update/update.services.yml Drupal\update\UpdateManager
update.processor core/modules/update/update.services.yml Drupal\update\UpdateProcessor
update.root core/modules/update/update.services.yml Drupal\update\UpdateRoot
update.route_subscriber core/modules/update/update.services.yml Drupal\update\Routing\UpdateRouteSubscriber
user.auth core/modules/user/user.services.yml Drupal\user\UserAuthentication
user.authentication.cookie core/modules/user/user.services.yml Drupal\user\Authentication\Provider\Cookie authentication_provider
user.current_user_context core/modules/user/user.services.yml Drupal\user\ContextProvider\CurrentUserContext context_provider
user.data core/modules/user/user.services.yml Drupal\user\UserData backend_overridable
user.flood_control core/modules/user/user.services.yml Drupal\user\UserFloodControl
user.flood_subscriber core/modules/user/user.services.yml Drupal\user\EventSubscriber\UserFloodSubscriber
user.module_permissions_link_helper core/modules/user/user.services.yml Drupal\user\ModulePermissionsLinkHelper
user.name_validator core/modules/user/user.services.yml Drupal\user\UserNameValidator
user.permissions core/modules/user/user.services.yml Drupal\user\PermissionHandler
user.toolbar_link_builder core/modules/user/user.services.yml Drupal\user\ToolbarLinkBuilder
user_access_denied_subscriber core/modules/user/user.services.yml Drupal\user\EventSubscriber\AccessDeniedSubscriber
user_last_access_subscriber core/modules/user/user.services.yml Drupal\user\EventSubscriber\UserRequestSubscriber
user_maintenance_mode_subscriber core/modules/user/user.services.yml Drupal\user\EventSubscriber\MaintenanceModeSubscriber
variation_cache.dynamic_page_cache core/modules/dynamic_page_cache/dynamic_page_cache.services.yml Drupal\Core\Cache\VariationCacheInterface
variation_cache.jsonapi_normalizations core/modules/jsonapi/jsonapi.services.yml Drupal\Core\Cache\VariationCacheInterface
views.analyzer core/modules/views/views.services.yml Drupal\views\Analyzer
views.cast_sql core/modules/views/views.services.yml Drupal\views\Plugin\views\query\CastSql backend_overridable
views.date_sql core/modules/views/views.services.yml Drupal\views\Plugin\views\query\MysqlDateSql backend_overridable
views.entity_schema_subscriber core/modules/views/views.services.yml Drupal\views\EventSubscriber\ViewsEntitySchemaSubscriber
views.executable core/modules/views/views.services.yml Drupal\views\ViewExecutableFactory
views.exposed_form_cache core/modules/views/views.services.yml Drupal\views\ExposedFormCache
views.route_subscriber core/modules/views/views.services.yml Drupal\views\EventSubscriber\RouteSubscriber
views.views_data core/modules/views/views.services.yml Drupal\views\ViewsData backend_overridable
views.views_data_helper core/modules/views/views.services.yml Drupal\views\ViewsDataHelper
workflows.access_check.extended_permissions core/modules/workflows/workflows.services.yml Drupal\workflows\WorkflowStateTransitionOperationsAccessCheck access_check
workspaces.association core/modules/workspaces/workspaces.services.yml Drupal\workspaces\WorkspaceAssociation backend_overridable
workspaces.controller.entity_form core/modules/workspaces/workspaces.services.yml Drupal\workspaces\Controller\WorkspacesHtmlEntityFormController
workspaces.entity.query.sql core/modules/workspaces/workspaces.services.yml Drupal\workspaces\EntityQuery\QueryFactory backend_overridable
workspaces.entity_schema_listener core/modules/workspaces/workspaces.services.yml Drupal\workspaces\EventSubscriber\EntitySchemaSubscriber
workspaces.information core/modules/workspaces/workspaces.services.yml Drupal\workspaces\WorkspaceInformation
workspaces.lazy_builders core/modules/workspaces/workspaces.services.yml Drupal\workspaces\WorkspacesLazyBuilders
workspaces.manager core/modules/workspaces/workspaces.services.yml Drupal\workspaces\WorkspaceManager service_id_collector
workspaces.menu.tree_storage core/modules/workspaces/workspaces.services.yml Drupal\workspaces\WorkspacesMenuTreeStorage backend_overridable
workspaces.negotiator.query_parameter core/modules/workspaces/workspaces.services.yml Drupal\workspaces\Negotiator\QueryParameterWorkspaceNegotiator workspace_negotiator
workspaces.negotiator.session core/modules/workspaces/workspaces.services.yml Drupal\workspaces\Negotiator\SessionWorkspaceNegotiator workspace_negotiator
workspaces.operation_factory core/modules/workspaces/workspaces.services.yml Drupal\workspaces\WorkspaceOperationFactory
workspaces.repository core/modules/workspaces/workspaces.services.yml Drupal\workspaces\WorkspaceRepository
workspaces.workspace_subscriber core/modules/workspaces/workspaces.services.yml Drupal\workspaces\EventSubscriber\WorkspaceRequestSubscriber
workspaces_ui.route_subscriber core/modules/workspaces_ui/workspaces_ui.services.yml Drupal\workspaces_ui\Routing\RouteSubscriber
_defaults core/modules/help/help.services.yml
_defaults core/modules/search/search.services.yml
_defaults core/modules/media_library/media_library.services.yml
_defaults core/modules/system/system.services.yml
_defaults core/modules/field_ui/field_ui.services.yml
_defaults core/modules/syslog/syslog.services.yml

Pagination

  • First page
  • Previous page
  • …
  • Page 5
  • Page 6
  • Page 7
  • Page 8
  • Page 9
  • Page 10
  • Page 11
  • Page 12
  • Page 13
  • Next page
  • Last page

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal