public function FieldGroupDeleteForm::getQuestion in Field Group 8
Same name and namespace in other branches
- 8.3 src/Form/FieldGroupDeleteForm.php \Drupal\field_group\Form\FieldGroupDeleteForm::getQuestion()
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/ FieldGroupDeleteForm.php, line 64
Class
- FieldGroupDeleteForm
- Provides a form for removing a fieldgroup from a bundle.
Namespace
Drupal\field_group\FormCode
public function getQuestion() {
return $this
->t('Are you sure you want to delete the group %group?', array(
'%group' => t($this->fieldGroup->label),
));
}