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
plugin.manager.migrate.destination core/modules/migrate/migrate.services.yml Drupal\migrate\Plugin\MigrateDestinationPluginManager
plugin.manager.migrate.field core/modules/migrate_drupal/migrate_drupal.services.yml Drupal\migrate_drupal\Plugin\MigrateFieldPluginManager
plugin.manager.migrate.id_map core/modules/migrate/migrate.services.yml Drupal\migrate\Plugin\MigratePluginManager
plugin.manager.migrate.process core/modules/migrate/migrate.services.yml Drupal\migrate\Plugin\MigratePluginManager
plugin.manager.migrate.source core/modules/migrate/migrate.services.yml Drupal\migrate\Plugin\MigrateSourcePluginManager
plugin.manager.migration core/modules/migrate/migrate.services.yml Drupal\migrate\Plugin\MigrationPluginManager
plugin.manager.rest core/modules/rest/rest.services.yml Drupal\rest\Plugin\Type\ResourcePluginManager
plugin.manager.search core/modules/search/search.services.yml Drupal\search\SearchPluginManager
plugin.manager.top_bar_item core/modules/navigation/navigation.services.yml Drupal\navigation\TopBarItemManager
plugin.manager.views.access core/modules/views/views.services.yml Drupal\views\Plugin\ViewsPluginManager
plugin.manager.views.area core/modules/views/views.services.yml Drupal\views\Plugin\ViewsHandlerManager
plugin.manager.views.argument core/modules/views/views.services.yml Drupal\views\Plugin\ViewsHandlerManager
plugin.manager.views.argument_default core/modules/views/views.services.yml Drupal\views\Plugin\ViewsPluginManager
plugin.manager.views.argument_validator core/modules/views/views.services.yml Drupal\views\Plugin\ViewsPluginManager
plugin.manager.views.cache core/modules/views/views.services.yml Drupal\views\Plugin\ViewsPluginManager
plugin.manager.views.display core/modules/views/views.services.yml Drupal\views\Plugin\ViewsPluginManager
plugin.manager.views.display_extender core/modules/views/views.services.yml Drupal\views\Plugin\ViewsPluginManager
plugin.manager.views.exposed_form core/modules/views/views.services.yml Drupal\views\Plugin\ViewsPluginManager
plugin.manager.views.field core/modules/views/views.services.yml Drupal\views\Plugin\ViewsHandlerManager
plugin.manager.views.filter core/modules/views/views.services.yml Drupal\views\Plugin\ViewsHandlerManager
plugin.manager.views.join core/modules/views/views.services.yml Drupal\views\Plugin\ViewsHandlerManager
plugin.manager.views.pager core/modules/views/views.services.yml Drupal\views\Plugin\ViewsPluginManager
plugin.manager.views.query core/modules/views/views.services.yml Drupal\views\Plugin\ViewsPluginManager
plugin.manager.views.relationship core/modules/views/views.services.yml Drupal\views\Plugin\ViewsHandlerManager
plugin.manager.views.row core/modules/views/views.services.yml Drupal\views\Plugin\ViewsPluginManager
plugin.manager.views.sort core/modules/views/views.services.yml Drupal\views\Plugin\ViewsHandlerManager
plugin.manager.views.style core/modules/views/views.services.yml Drupal\views\Plugin\ViewsPluginManager
plugin.manager.views.wizard core/modules/views/views.services.yml Drupal\views\Plugin\ViewsPluginManager
plugin.manager.workflows.type core/modules/workflows/workflows.services.yml Drupal\workflows\WorkflowTypeManager plugin_manager_cache_clear
rest.resource.entity.post_route.subscriber core/modules/rest/rest.services.yml \Drupal\rest\EventSubscriber\EntityResourcePostRouteSubscriber
rest.resource_response.subscriber core/modules/rest/rest.services.yml Drupal\rest\EventSubscriber\ResourceResponseSubscriber
rest.resource_routes core/modules/rest/rest.services.yml Drupal\rest\Routing\ResourceRoutes
route_subscriber.no_big_pipe core/modules/big_pipe/big_pipe.services.yml Drupal\big_pipe\EventSubscriber\NoBigPipeRouteAlterSubscriber
search.index core/modules/search/search.services.yml Drupal\search\SearchIndex backend_overridable
search.search_page_repository core/modules/search/search.services.yml Drupal\search\SearchPageRepository
search.text_processor core/modules/search/search.services.yml Drupal\search\SearchTextProcessor
serialization.entity_resolver.target_id core/modules/serialization/serialization.services.yml Drupal\serialization\EntityResolver\TargetIdResolver entity_resolver
serialization.exception.default core/modules/serialization/serialization.services.yml Drupal\serialization\EventSubscriber\DefaultExceptionSubscriber
serialization.normalizer.field core/modules/serialization/serialization.services.yml Drupal\serialization\Normalizer\FieldNormalizer normalizer
serialization.normalizer.field_item core/modules/serialization/serialization.services.yml Drupal\serialization\Normalizer\FieldItemNormalizer normalizer
serialization.user_route_alter_subscriber core/modules/serialization/serialization.services.yml Drupal\serialization\EventSubscriber\UserRouteAlterSubscriber
serializer core/modules/serialization/serialization.services.yml Symfony\Component\Serializer\Serializer
serializer.encoder.json core/modules/serialization/serialization.services.yml Drupal\serialization\Encoder\JsonEncoder encoder
serializer.encoder.jsonapi core/modules/jsonapi/jsonapi.services.yml Drupal\jsonapi\Encoder\JsonEncoder jsonapi_encoder
serializer.encoder.xml core/modules/serialization/serialization.services.yml Drupal\serialization\Encoder\XmlEncoder encoder
serializer.entity_resolver core/modules/serialization/serialization.services.yml Drupal\serialization\EntityResolver\ChainEntityResolver
serializer.entity_resolver.uuid core/modules/serialization/serialization.services.yml Drupal\serialization\EntityResolver\UuidResolver entity_resolver
serializer.normalizer.complex_data core/modules/serialization/serialization.services.yml Drupal\serialization\Normalizer\ComplexDataNormalizer normalizer
serializer.normalizer.config_entity core/modules/serialization/serialization.services.yml Drupal\serialization\Normalizer\ConfigEntityNormalizer normalizer
serializer.normalizer.config_entity.jsonapi core/modules/jsonapi/jsonapi.services.yml Drupal\jsonapi\Normalizer\ConfigEntityDenormalizer jsonapi_normalizer

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
RSS feed
Powered by Drupal