You are here

service date.formatter in Zircon Profile 8

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

Class

Drupal\Core\Datetime\DateFormatter
34 string references to date.formatter
AggregatorController::create in core/modules/aggregator/src/Controller/AggregatorController.php
Instantiates a new instance of this class.
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.
CommentAdminOverview::create in core/modules/comment/src/Form/CommentAdminOverview.php
Instantiates a new instance of this class.
CronForm::create in core/modules/system/src/Form/CronForm.php
Instantiates a new instance of this class.
Date::create in core/modules/views/src/Plugin/views/field/Date.php
Creates an instance of the plugin.

... See full list

File

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

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