public function FileTypeDisableForm::getQuestion in File Entity (fieldable files) 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
- src/
Form/ FileTypeDisableForm.php, line 18
Class
- FileTypeDisableForm
- Builds the form to disable a file type.
Namespace
Drupal\file_entity\FormCode
public function getQuestion() {
return t('Are you sure you want to disable the file type %name?', array(
'%name' => $this->entity
->label(),
));
}