public function ScheduledTransitionRescheduleForm::__construct in Scheduled Transitions 2.x
Same name and namespace in other branches
- 8 src/Form/Entity/ScheduledTransitionRescheduleForm.php \Drupal\scheduled_transitions\Form\Entity\ScheduledTransitionRescheduleForm::__construct()
Constructs a new ScheduledTransitionRescheduleForm.
Parameters
\Drupal\Core\Entity\EntityRepositoryInterface $entity_repository: The entity repository service.
\Drupal\Core\Entity\EntityTypeBundleInfoInterface $entity_type_bundle_info: The entity type bundle service.
\Drupal\Component\Datetime\TimeInterface $time: The time service.
\Drupal\Core\Datetime\DateFormatterInterface $dateFormatter: Various date related functionality.
Overrides ContentEntityForm::__construct
File
- src/
Form/ Entity/ ScheduledTransitionRescheduleForm.php, line 42
Class
- ScheduledTransitionRescheduleForm
- Scheduled transitions reschedule form.
Namespace
Drupal\scheduled_transitions\Form\EntityCode
public function __construct(EntityRepositoryInterface $entity_repository, EntityTypeBundleInfoInterface $entity_type_bundle_info, TimeInterface $time, DateFormatterInterface $dateFormatter) {
parent::__construct($entity_repository, $entity_type_bundle_info, $time);
$this->dateFormatter = $dateFormatter;
}