public function FlaggingCollectionRevisionDeleteForm::__construct in Flag Lists 8
Same name and namespace in other branches
- 4.0.x src/Form/FlaggingCollectionRevisionDeleteForm.php \Drupal\flag_lists\Form\FlaggingCollectionRevisionDeleteForm::__construct()
Constructs a new FlaggingCollectionRevisionDeleteForm.
Parameters
\Drupal\Core\Entity\EntityStorageInterface $entity_storage: The entity storage.
\Drupal\Core\Database\Connection $connection: The database connection.
File
- src/
Form/ FlaggingCollectionRevisionDeleteForm.php, line 49
Class
- FlaggingCollectionRevisionDeleteForm
- Provides a form for deleting a Flagging collection revision.
Namespace
Drupal\flag_lists\FormCode
public function __construct(EntityStorageInterface $entity_storage, Connection $connection) {
$this->flaggingCollectionStorage = $entity_storage;
$this->connection = $connection;
}