public function CustomContextualLinkDeleteForm::getConfirmText in Custom Contextual Links 8.2
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/ CustomContextualLinkDeleteForm.php, line 33
Class
- CustomContextualLinkDeleteForm
- Builds the form to delete Custom Contextual Link entities.
Namespace
Drupal\ccl\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}