You are here

service datetime.time in Drupal 10

Same name in this branch
  1. 10 core/core.services.yml \datetime.time
  2. 10 core/modules/update/tests/modules/update_test/update_test.services.yml \datetime.time
Same name and namespace in other branches
  1. 8 core/core.services.yml \datetime.time
  2. 8 core/modules/update/tests/modules/update_test/update_test.services.yml \datetime.time
  3. 9 core/core.services.yml \datetime.time
  4. 9 core/modules/update/tests/modules/update_test/update_test.services.yml \datetime.time

Class

Drupal\Component\Datetime\Time
20 string references to datetime.time
AccountForm::create in core/modules/user/src/AccountForm.php
Instantiates a new instance of this class.
BookOutlineForm::create in core/modules/book/src/Form/BookOutlineForm.php
Instantiates a new instance of this class.
CommentForm::create in core/modules/comment/src/CommentForm.php
Instantiates a new instance of this class.
ContentEntityForm::create in core/lib/Drupal/Core/Entity/ContentEntityForm.php
Instantiates a new instance of this class.
Cron::__construct in core/lib/Drupal/Core/Cron.php
Constructs a cron object.

... See full list

File

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

View source
  1. class: Drupal\Component\Datetime\Time
  2. arguments:
  3. - '@request_stack'