public function RelationTypeDeleteConfirm::getQuestion in Relation 8
Same name and namespace in other branches
- 8.2 src/Form/RelationTypeDeleteConfirm.php \Drupal\relation\Form\RelationTypeDeleteConfirm::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
1 call to RelationTypeDeleteConfirm::getQuestion()
- RelationTypeDeleteConfirm::buildForm in src/
Form/ RelationTypeDeleteConfirm.php - Form constructor.
File
- src/
Form/ RelationTypeDeleteConfirm.php, line 50 - Contains \Drupal\relation\Form\RelationTypeDeleteConfirm.
Class
- RelationTypeDeleteConfirm
- Provides a form for relation type deletion.
Namespace
Drupal\relation\FormCode
public function getQuestion() {
return t('Are you sure you want to delete the relation type %type?', array(
'%type' => $this->entity
->label(),
));
}