function RevisionDeleteForm::__construct
Same name in other branches
- 10 core/lib/Drupal/Core/Entity/Form/RevisionDeleteForm.php \Drupal\Core\Entity\Form\RevisionDeleteForm::__construct()
Creates a new RevisionDeleteForm instance.
Parameters
\Drupal\Core\Datetime\DateFormatterInterface $dateFormatter: The date formatter.
\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: Entity type manager.
\Drupal\Core\Entity\EntityTypeBundleInfoInterface $bundleInformation: The bundle information.
\Drupal\Core\Messenger\MessengerInterface $messenger: The messenger service.
\Drupal\Component\Datetime\TimeInterface $time: The time service.
\Drupal\Core\Session\AccountInterface $currentUser: The current user.
File
-
core/
lib/ Drupal/ Core/ Entity/ Form/ RevisionDeleteForm.php, line 65
Class
- RevisionDeleteForm
- Provides a form for deleting an entity revision.
Namespace
Drupal\Core\Entity\FormCode
public function __construct(DateFormatterInterface $dateFormatter, EntityTypeManagerInterface $entityTypeManager, EntityTypeBundleInfoInterface $bundleInformation, MessengerInterface $messenger, TimeInterface $time, AccountInterface $currentUser) {
$this->messenger = $messenger;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.