public function FlaggingCollectionRevisionRevertTranslationForm::__construct in Flag Lists 4.0.x
Same name and namespace in other branches
- 8 src/Form/FlaggingCollectionRevisionRevertTranslationForm.php \Drupal\flag_lists\Form\FlaggingCollectionRevisionRevertTranslationForm::__construct()
Constructs a new FlaggingCollectionRevisionRevertTranslationForm.
Parameters
\Drupal\Core\Entity\EntityStorageInterface $entity_storage: The Flagging collection storage.
\Drupal\Core\Datetime\DateFormatterInterface $date_formatter: The date formatter service.
\Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager.
Overrides FlaggingCollectionRevisionRevertForm::__construct
File
- src/
Form/ FlaggingCollectionRevisionRevertTranslationForm.php, line 46
Class
- FlaggingCollectionRevisionRevertTranslationForm
- Provides a form for reverting a Flagging collection revision.
Namespace
Drupal\flag_lists\FormCode
public function __construct(EntityStorageInterface $entity_storage, DateFormatterInterface $date_formatter, LanguageManagerInterface $language_manager) {
parent::__construct($entity_storage, $date_formatter);
$this->languageManager = $language_manager;
}