You are here

service date.formatter in Drupal 10

Same name and namespace in other branches
  1. 8 core/core.services.yml \date.formatter
  2. 9 core/core.services.yml \date.formatter

Class

Drupal\Core\Datetime\DateFormatter
103 string references to date.formatter
automated_cron_form_system_cron_settings_alter in core/modules/automated_cron/automated_cron.module
Implements hook_form_FORM_ID_alter() for the system_cron_settings() form.
BreakLockLink::create in core/lib/Drupal/Core/TempStore/Element/BreakLockLink.php
Creates an instance of the plugin.
CommentAdminOverview::create in core/modules/comment/src/Form/CommentAdminOverview.php
Instantiates a new instance of this class.
CommentAttributesTest::_testBasicCommentRdfaMarkup in core/modules/rdf/tests/src/Functional/CommentAttributesTest.php
Helper function for testCommentRdfaMarkup().
CommentPreviewTest::testCommentEditPreviewSave in core/modules/comment/tests/src/Functional/CommentPreviewTest.php
Tests comment edit, preview, and save.

... See full list

File

core/core.services.yml
core/core.services.yml

View source
  1. class: Drupal\Core\Datetime\DateFormatter
  2. arguments:
  3. - '@entity_type.manager'
  4. - '@language_manager'
  5. - '@string_translation'
  6. - '@config.factory'
  7. - '@request_stack'