public function ApplyForRoleConfirmActionForm::getQuestion in Apply for role 8
Creates the question for the form. Essentially page title.
Overrides ConfirmFormInterface::getQuestion
File
- src/
Form/ ApplyForRoleConfirmActionForm.php, line 58
Class
Namespace
Drupal\apply_for_role\FormCode
public function getQuestion() {
if ($this->form_action == 'approve') {
return $this
->t('Approve Application');
}
else {
return $this
->t('Deny Application');
}
}