public function JsonapiResourceConfigDeleteForm::getConfirmText in JSON:API Extras 8
Same name and namespace in other branches
- 8.3 src/Form/JsonapiResourceConfigDeleteForm.php \Drupal\jsonapi_extras\Form\JsonapiResourceConfigDeleteForm::getConfirmText()
- 8.2 src/Form/JsonapiResourceConfigDeleteForm.php \Drupal\jsonapi_extras\Form\JsonapiResourceConfigDeleteForm::getConfirmText()
Returns a caption for the button that confirms the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.
Overrides EntityConfirmFormBase::getConfirmText
File
- src/
Form/ JsonapiResourceConfigDeleteForm.php, line 31
Class
- JsonapiResourceConfigDeleteForm
- Builds the form to delete JSON API Resource Config entities.
Namespace
Drupal\jsonapi_extras\FormCode
public function getConfirmText() {
return $this
->t('Revert');
}