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
ckeditor5.smart_default_settings core/modules/ckeditor5/ckeditor5.services.yml Drupal\ckeditor5\SmartDefaultSettings
comment.breadcrumb core/modules/comment/comment.services.yml Drupal\comment\CommentBreadcrumbBuilder breadcrumb_builder
comment.lazy_builders core/modules/comment/comment.services.yml Drupal\comment\CommentLazyBuilders
comment.link_builder core/modules/comment/comment.services.yml Drupal\comment\CommentLinkBuilder
comment.manager core/modules/comment/comment.services.yml Drupal\comment\CommentManager
comment.statistics core/modules/comment/comment.services.yml Drupal\comment\CommentStatistics backend_overridable
config.config_subscriber core/modules/config/config.services.yml Drupal\config\ConfigSubscriber
config_translation.access.form core/modules/config_translation/config_translation.services.yml Drupal\config_translation\Access\ConfigTranslationFormAccess access_check
config_translation.access.overview core/modules/config_translation/config_translation.services.yml Drupal\config_translation\Access\ConfigTranslationOverviewAccess access_check
config_translation.route_subscriber core/modules/config_translation/config_translation.services.yml Drupal\config_translation\Routing\RouteSubscriber
contact.mail_handler core/modules/contact/contact.services.yml Drupal\contact\MailHandler
content_moderation.config_import_subscriber core/modules/content_moderation/content_moderation.services.yml Drupal\content_moderation\EventSubscriber\ConfigImportSubscriber
content_moderation.moderation_information core/modules/content_moderation/content_moderation.services.yml Drupal\content_moderation\ModerationInformation
content_moderation.route_subscriber core/modules/content_moderation/content_moderation.services.yml Drupal\content_moderation\Routing\ContentModerationRouteSubscriber
content_moderation.state_transition_validation core/modules/content_moderation/content_moderation.services.yml Drupal\content_moderation\StateTransitionValidation
content_moderation.workspace_subscriber core/modules/content_moderation/content_moderation.services.yml Drupal\content_moderation\EventSubscriber\WorkspaceSubscriber
content_translation.delete_access core/modules/content_translation/content_translation.services.yml Drupal\content_translation\Access\ContentTranslationDeleteAccess access_check
content_translation.manager core/modules/content_translation/content_translation.services.yml Drupal\content_translation\ContentTranslationManager
content_translation.manage_access core/modules/content_translation/content_translation.services.yml Drupal\content_translation\Access\ContentTranslationManageAccessCheck access_check
content_translation.overview_access core/modules/content_translation/content_translation.services.yml Drupal\content_translation\Access\ContentTranslationOverviewAccess access_check
content_translation.subscriber core/modules/content_translation/content_translation.services.yml Drupal\content_translation\Routing\ContentTranslationRouteSubscriber
content_translation.synchronizer core/modules/content_translation/content_translation.services.yml Drupal\content_translation\FieldTranslationSynchronizer
Drupal\announcements_feed\AnnounceFetcher core/modules/announcements_feed/announcements_feed.services.yml
Drupal\announcements_feed\AnnounceRenderer core/modules/announcements_feed/announcements_feed.services.yml
Drupal\announcements_feed\LazyBuilders core/modules/announcements_feed/announcements_feed.services.yml
Drupal\ban\BanIpManagerInterface core/modules/ban/ban.services.yml
Drupal\big_pipe\Render\BigPipe core/modules/big_pipe/big_pipe.services.yml
Drupal\block\BlockRepositoryInterface core/modules/block/block.services.yml
Drupal\breakpoint\BreakpointManagerInterface core/modules/breakpoint/breakpoint.services.yml
Drupal\ckeditor5\Plugin\CKEditor5PluginManagerInterface core/modules/ckeditor5/ckeditor5.services.yml
Drupal\ckeditor5\SmartDefaultSettings core/modules/ckeditor5/ckeditor5.services.yml
Drupal\comment\CommentLazyBuilders core/modules/comment/comment.services.yml
Drupal\comment\CommentLinkBuilderInterface core/modules/comment/comment.services.yml
Drupal\comment\CommentManagerInterface core/modules/comment/comment.services.yml
Drupal\comment\CommentStatisticsInterface core/modules/comment/comment.services.yml
Drupal\config_translation\ConfigMapperManagerInterface core/modules/config_translation/config_translation.services.yml
Drupal\contact\MailHandlerInterface core/modules/contact/contact.services.yml
Drupal\content_moderation\ModerationInformationInterface core/modules/content_moderation/content_moderation.services.yml
Drupal\content_moderation\StateTransitionValidationInterface core/modules/content_moderation/content_moderation.services.yml
Drupal\content_translation\BundleTranslationSettingsInterface core/modules/content_translation/content_translation.services.yml
Drupal\content_translation\ContentTranslationManagerInterface core/modules/content_translation/content_translation.services.yml
Drupal\content_translation\FieldTranslationSynchronizerInterface core/modules/content_translation/content_translation.services.yml
Drupal\Core\Config\ConfigFactoryOverrideInterface core/modules/language/language.services.yml
Drupal\Core\Layout\Icon\IconBuilderInterface core/modules/layout_discovery/layout_discovery.services.yml
Drupal\Core\Layout\LayoutPluginManagerInterface core/modules/layout_discovery/layout_discovery.services.yml
Drupal\editor\Element core/modules/editor/editor.services.yml
Drupal\file\FileRepositoryInterface core/modules/file/file.services.yml
Drupal\file\Upload\FileUploadHandler core/modules/file/file.services.yml
Drupal\file\Upload\InputStreamFileWriterInterface core/modules/file/file.services.yml
Drupal\file\Validation\FileValidatorInterface core/modules/file/file.services.yml

Pagination

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