You are here

public function GroupRevisionDeleteForm::__construct in Group 8

Same name and namespace in other branches
  1. 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\Form

Code

public function __construct(ContentEntityStorageInterface $group_storage, DateFormatterInterface $date_formatter) {
  $this->groupStorage = $group_storage;
  $this->dateFormatter = $date_formatter;
}