You are here

public function TranscodeJobDeleteForm::getQuestion in Video 8.2

Returns the question to ask the user.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form question. The page title will be set to this value.

Overrides ConfirmFormInterface::getQuestion

File

modules/video_transcode/src/Form/TranscodeJobDeleteForm.php, line 19

Class

TranscodeJobDeleteForm
Provides a form for deleting a trnascode job entity.

Namespace

Drupal\video_transcode\Form

Code

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