You are here

public function EntityBrowserDeleteForm::getQuestion in Entity Browser 8

Same name and namespace in other branches
  1. 8.2 src/Form/EntityBrowserDeleteForm.php \Drupal\entity_browser\Form\EntityBrowserDeleteForm::getQuestion()

Overrides EntityDeleteFormTrait::getQuestion

File

src/Form/EntityBrowserDeleteForm.php, line 16

Class

EntityBrowserDeleteForm
Delete confirm form for entity browsers.

Namespace

Drupal\entity_browser\Form

Code

public function getQuestion() {
  return $this
    ->t('Are you sure you want to delete entity browser %label?', [
    '%label' => $this->entity
      ->label(),
  ]);
}