public function UserRestrictionsDeleteForm::getQuestion in User restrictions 8
Overrides EntityDeleteFormTrait::getQuestion
File
- src/
Form/ UserRestrictionsDeleteForm.php, line 15
Class
- UserRestrictionsDeleteForm
- Creates a form to delete a user restriction rule.
Namespace
Drupal\user_restrictions\FormCode
public function getQuestion() {
return $this
->t('Are you sure you want to delete the user restriction rule %label?', [
'%label' => $this->entity
->label(),
]);
}