public function Mp3playerDeleteForm::getQuestion in MP3 Player 8
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
- src/
Form/ Mp3playerDeleteForm.php, line 37 - Contains \Drupal\mp3player\Form\ExampleForm.
Class
- Mp3playerDeleteForm
- Implements Mp3playerDeleteForm.
Namespace
Drupal\mp3player\FormCode
public function getQuestion() {
return t('Are you sure you want to delete the player %name?', array(
'%name' => $this->name,
));
}