public function RuleDeleteForm::getQuestion in JS injector 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
- lib/
Drupal/ js_injector/ Form/ RuleDeleteForm.php, line 20 - Contains \Drupal\js_injector\Form\RuleDeleteForm.
Class
- RuleDeleteForm
- Provides a deletion confirmation form for js_injector rule entity.
Namespace
Drupal\js_injector\FormCode
public function getQuestion() {
return t('Are you sure you want to delete the rule %name?', array(
'%name' => $this->entity
->label(),
));
}