public function OpignoAnswerRevisionDeleteForm::__construct in Opigno module 8
Same name and namespace in other branches
- 3.x src/Form/OpignoAnswerRevisionDeleteForm.php \Drupal\opigno_module\Form\OpignoAnswerRevisionDeleteForm::__construct()
Constructs a new OpignoAnswerRevisionDeleteForm.
Parameters
\Drupal\Core\Entity\EntityStorageInterface $entity_storage: The entity storage.
\Drupal\Core\Database\Connection $connection: The database connection.
File
- src/
Form/ OpignoAnswerRevisionDeleteForm.php, line 49
Class
- OpignoAnswerRevisionDeleteForm
- Provides a form for deleting a Answer revision.
Namespace
Drupal\opigno_module\FormCode
public function __construct(EntityStorageInterface $entity_storage, Connection $connection) {
$this->OpignoAnswerStorage = $entity_storage;
$this->connection = $connection;
}