public function CacheflushEntityDeleteForm::__construct in CacheFlush 8
CacheflushEntityDeleteForm constructor.
Parameters
\Drupal\Core\Entity\EntityRepositoryInterface $entity_repository: The Entity repository.
\Drupal\Core\Messenger\MessengerInterface $messenger: The messenger service.
Overrides ContentEntityForm::__construct
File
- modules/
cacheflush_ui/ src/ Entity/ Form/ CacheflushEntityDeleteForm.php, line 33
Class
- CacheflushEntityDeleteForm
- Provides a form for deleting Xerox entity entities.
Namespace
Drupal\cacheflush_ui\Entity\FormCode
public function __construct(EntityRepositoryInterface $entity_repository, MessengerInterface $messenger) {
parent::__construct($entity_repository);
$this->messenger = $messenger;
}