public function GroupRevisionDeleteForm::__construct in Group 8
Same name and namespace in other branches
- 2.0.x src/Entity/Form/GroupRevisionDeleteForm.php \Drupal\group\Entity\Form\GroupRevisionDeleteForm::__construct()
Constructs a new GroupRevisionDeleteForm.
Parameters
\Drupal\Core\Entity\ContentEntityStorageInterface: The group storage.
\Drupal\Core\Datetime\DateFormatterInterface $date_formatter: The date formatter service.
File
- src/
Entity/ Form/ GroupRevisionDeleteForm.php, line 46
Class
- GroupRevisionDeleteForm
- Provides a form for deleting a group revision.
Namespace
Drupal\group\Entity\FormCode
public function __construct(ContentEntityStorageInterface $group_storage, DateFormatterInterface $date_formatter) {
$this->groupStorage = $group_storage;
$this->dateFormatter = $date_formatter;
}