public function OpignoAnswerRevisionRevertForm::__construct in Opigno module 8
Same name and namespace in other branches
- 3.x src/Form/OpignoAnswerRevisionRevertForm.php \Drupal\opigno_module\Form\OpignoAnswerRevisionRevertForm::__construct()
Constructs a new OpignoAnswerRevisionRevertForm.
Parameters
\Drupal\Core\Entity\EntityStorageInterface $entity_storage: The Answer storage.
\Drupal\Core\Datetime\DateFormatterInterface $date_formatter: The date formatter service.
1 call to OpignoAnswerRevisionRevertForm::__construct()
- OpignoAnswerRevisionRevertTranslationForm::__construct in src/
Form/ OpignoAnswerRevisionRevertTranslationForm.php - Constructs a new OpignoAnswerRevisionRevertTranslationForm.
1 method overrides OpignoAnswerRevisionRevertForm::__construct()
- OpignoAnswerRevisionRevertTranslationForm::__construct in src/
Form/ OpignoAnswerRevisionRevertTranslationForm.php - Constructs a new OpignoAnswerRevisionRevertTranslationForm.
File
- src/
Form/ OpignoAnswerRevisionRevertForm.php, line 50
Class
- OpignoAnswerRevisionRevertForm
- Provides a form for reverting a Answer revision.
Namespace
Drupal\opigno_module\FormCode
public function __construct(EntityStorageInterface $entity_storage, DateFormatterInterface $date_formatter) {
$this->OpignoAnswerStorage = $entity_storage;
$this->dateFormatter = $date_formatter;
}