date.formatter
Same name in other branches
- 9 core/core.services.yml \date.formatter
- 8.9.x core/core.services.yml \date.formatter
Class
Drupal\Core\Datetime\DateFormatter61 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.
- CommentTranslationUITest::doTestAuthoringInfo in core/
modules/ comment/ tests/ src/ Functional/ CommentTranslationUITest.php - Tests the translation authoring information.
- ContentTranslationHandler::createInstance in core/
modules/ content_translation/ src/ ContentTranslationHandler.php - Instantiates a new instance of this entity handler.
File
-
core/
core.services.yml
View source
- class: Drupal\Core\Datetime\DateFormatter
- arguments:
- - '@entity_type.manager'
- - '@language_manager'
- - '@string_translation'
- - '@config.factory'
- - '@request_stack'
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.