public function ReferenceRevisionDeleteForm::__construct in Bibliography & Citation 8
Same name and namespace in other branches
- 2.0.x modules/bibcite_entity/src/Form/ReferenceRevisionDeleteForm.php \Drupal\bibcite_entity\Form\ReferenceRevisionDeleteForm::__construct()
Constructs a new ReferenceRevisionDeleteForm.
Parameters
\Drupal\Core\Entity\EntityStorageInterface $referenceStorage: The reference storage.
\Drupal\Core\Database\Connection $connection: The database connection.
\Drupal\Core\Datetime\DateFormatterInterface $date_formatter: The date formatter service.
File
- modules/
bibcite_entity/ src/ Form/ ReferenceRevisionDeleteForm.php, line 59
Class
- ReferenceRevisionDeleteForm
- Provides a form for reverting a reference revision.
Namespace
Drupal\bibcite_entity\FormCode
public function __construct(EntityStorageInterface $referenceStorage, Connection $connection, DateFormatterInterface $date_formatter) {
$this->referenceStorage = $referenceStorage;
$this->connection = $connection;
$this->dateFormatter = $date_formatter;
}