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
jsonapi.include_resolver core/modules/jsonapi/jsonapi.services.yml Drupal\jsonapi\IncludeResolver
jsonapi.maintenance_mode_subscriber core/modules/jsonapi/jsonapi.services.yml Drupal\jsonapi\EventSubscriber\JsonapiMaintenanceModeSubscriber
jsonapi.normalization_cacher core/modules/jsonapi/jsonapi.services.yml Drupal\jsonapi\EventSubscriber\ResourceObjectNormalizationCacher
jsonapi.resource_response.subscriber core/modules/jsonapi/jsonapi.services.yml Drupal\jsonapi\EventSubscriber\ResourceResponseSubscriber
jsonapi.resource_response_validator.subscriber core/modules/jsonapi/jsonapi.services.yml Drupal\jsonapi\EventSubscriber\ResourceResponseValidator
jsonapi.resource_type.repository core/modules/jsonapi/jsonapi.services.yml Drupal\jsonapi\ResourceType\ResourceTypeRepository
jsonapi.resource_version.route_enhancer core/modules/jsonapi/jsonapi.services.yml Drupal\jsonapi\Revisions\ResourceVersionRouteEnhancer route_enhancer
jsonapi.route_enhancer core/modules/jsonapi/jsonapi.services.yml Drupal\jsonapi\Routing\RouteEnhancer route_enhancer
jsonapi.route_filter.format_setter core/modules/jsonapi/jsonapi.services.yml Drupal\jsonapi\Routing\EarlyFormatSetter route_filter
jsonapi.serializer core/modules/jsonapi/jsonapi.services.yml Drupal\jsonapi\Serializer\Serializer
jsonapi.version_negotiator core/modules/jsonapi/jsonapi.services.yml Drupal\jsonapi\Revisions\VersionNegotiator service_collector
jsonapi.version_negotiator.default core/modules/jsonapi/jsonapi.services.yml Abstract
jsonapi.version_negotiator.id core/modules/jsonapi/jsonapi.services.yml Drupal\jsonapi\Revisions\VersionById jsonapi_version_negotiator
jsonapi.version_negotiator.rel core/modules/jsonapi/jsonapi.services.yml Drupal\jsonapi\Revisions\VersionByRel jsonapi_version_negotiator
language.config_factory_override core/modules/language/language.services.yml Drupal\language\Config\LanguageConfigFactoryOverride config.factory.override
language.config_subscriber core/modules/language/language.services.yml Drupal\language\EventSubscriber\ConfigSubscriber
language_converter core/modules/language/language.services.yml Drupal\language\LanguageConverter paramconverter
language_negotiator core/modules/language/language.services.yml Drupal\language\LanguageNegotiator
layout.icon_builder core/modules/layout_discovery/layout_discovery.services.yml Drupal\Core\Layout\Icon\SvgIconBuilder
layout_builder.controller.entity_form core/modules/layout_builder/layout_builder.services.yml Drupal\layout_builder\Controller\LayoutBuilderHtmlEntityFormController
layout_builder.element.prepare_layout core/modules/layout_builder/layout_builder.services.yml Drupal\layout_builder\EventSubscriber\PrepareLayout
layout_builder.extra_fields.invalidator core/modules/layout_builder/layout_builder.services.yml Drupal\layout_builder\Cache\ExtraFieldBlockCacheTagInvalidator cache_tags_invalidator
layout_builder.param_converter core/modules/layout_builder/layout_builder.services.yml Drupal\layout_builder\Routing\LayoutSectionStorageParamConverter paramconverter
layout_builder.render_block_component_subscriber core/modules/layout_builder/layout_builder.services.yml Drupal\layout_builder\EventSubscriber\BlockComponentRenderArray
layout_builder.routes core/modules/layout_builder/layout_builder.services.yml Drupal\layout_builder\Routing\LayoutBuilderRoutes
layout_builder.sample_entity_generator core/modules/layout_builder/layout_builder.services.yml Drupal\layout_builder\Entity\LayoutBuilderSampleEntityGenerator
layout_builder.tempstore.route_enhancer core/modules/layout_builder/layout_builder.services.yml Drupal\layout_builder\Routing\LayoutTempstoreRouteEnhancer route_enhancer
layout_builder.tempstore_repository core/modules/layout_builder/layout_builder.services.yml Drupal\layout_builder\LayoutTempstoreRepository
locale.config_manager core/modules/locale/locale.services.yml Drupal\locale\LocaleConfigManager
locale.config_subscriber core/modules/locale/locale.services.yml Drupal\locale\LocaleConfigSubscriber
locale.default.config.storage core/modules/locale/locale.services.yml Drupal\locale\LocaleDefaultConfigStorage
locale.locale_translation_cache_tag core/modules/locale/locale.services.yml Drupal\locale\EventSubscriber\LocaleTranslationCacheTag
locale.plural.formula core/modules/locale/locale.services.yml Drupal\locale\PluralFormula
locale.project core/modules/locale/locale.services.yml Drupal\locale\LocaleProjectStorage
locale.storage core/modules/locale/locale.services.yml Drupal\locale\StringDatabaseStorage backend_overridable
logger.channel.announcements_feed core/modules/announcements_feed/announcements_feed.services.yml
logger.channel.ckeditor5 core/modules/ckeditor5/ckeditor5.services.yml
logger.channel.contact core/modules/contact/contact.services.yml Drupal\Core\Logger\LoggerChannel
logger.channel.jsonapi core/modules/jsonapi/jsonapi.services.yml
logger.channel.layout_builder core/modules/layout_builder/layout_builder.services.yml
logger.channel.migrate_drupal core/modules/migrate_drupal/migrate_drupal.services.yml
logger.channel.package_manager core/modules/package_manager/package_manager.services.yml
logger.channel.package_manager_change_log core/modules/package_manager/package_manager.services.yml
logger.channel.rest core/modules/rest/rest.services.yml
logger.channel.system core/modules/system/system.services.yml
logger.channel.update core/modules/update/update.services.yml
logger.channel.user core/modules/user/user.services.yml
logger.channel.workspaces core/modules/workspaces/workspaces.services.yml
logger.dblog core/modules/dblog/dblog.services.yml Drupal\dblog\Logger\DbLog logger, backend_overridable
logger.syslog core/modules/syslog/syslog.services.yml Drupal\syslog\Logger\SysLog logger

Pagination

  • First page
  • Previous page
  • …
  • Page 2
  • Page 3
  • Page 4
  • Page 5
  • Page 6
  • Page 7
  • Page 8
  • Page 9
  • Page 10
  • …
  • Next page
  • Last page
RSS feed
Powered by Drupal