EntityModerationForm::$time

Same name in other branches
  1. 9 core/modules/content_moderation/src/Form/EntityModerationForm.php \Drupal\content_moderation\Form\EntityModerationForm::time
  2. 8.9.x core/modules/content_moderation/src/Form/EntityModerationForm.php \Drupal\content_moderation\Form\EntityModerationForm::time
  3. 11.x core/modules/content_moderation/src/Form/EntityModerationForm.php \Drupal\content_moderation\Form\EntityModerationForm::time

The time service.

Type: \Drupal\Component\Datetime\TimeInterface

File

core/modules/content_moderation/src/Form/EntityModerationForm.php, line 34

Class

EntityModerationForm
The EntityModerationForm provides a simple UI for changing moderation state.

Namespace

Drupal\content_moderation\Form

Code

protected $time;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.