public function FlaggingCollectionRevisionRevertForm::__construct in Flag Lists 4.0.x
Same name and namespace in other branches
- 8 src/Form/FlaggingCollectionRevisionRevertForm.php \Drupal\flag_lists\Form\FlaggingCollectionRevisionRevertForm::__construct()
Constructs a new FlaggingCollectionRevisionRevertForm.
Parameters
\Drupal\Core\Entity\EntityStorageInterface $entity_storage: The Flagging collection storage.
\Drupal\Core\Datetime\DateFormatterInterface $date_formatter: The date formatter service.
1 call to FlaggingCollectionRevisionRevertForm::__construct()
- FlaggingCollectionRevisionRevertTranslationForm::__construct in src/
Form/ FlaggingCollectionRevisionRevertTranslationForm.php - Constructs a new FlaggingCollectionRevisionRevertTranslationForm.
1 method overrides FlaggingCollectionRevisionRevertForm::__construct()
- FlaggingCollectionRevisionRevertTranslationForm::__construct in src/
Form/ FlaggingCollectionRevisionRevertTranslationForm.php - Constructs a new FlaggingCollectionRevisionRevertTranslationForm.
File
- src/
Form/ FlaggingCollectionRevisionRevertForm.php, line 50
Class
- FlaggingCollectionRevisionRevertForm
- Provides a form for reverting a Flagging collection revision.
Namespace
Drupal\flag_lists\FormCode
public function __construct(EntityStorageInterface $entity_storage, DateFormatterInterface $date_formatter) {
$this->flaggingCollectionStorage = $entity_storage;
$this->dateFormatter = $date_formatter;
}