public function AssetInjectorDeleteForm::getConfirmText in Asset Injector 8
Same name and namespace in other branches
- 8.2 src/Form/AssetInjectorDeleteForm.php \Drupal\asset_injector\Form\AssetInjectorDeleteForm::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/ AssetInjectorDeleteForm.php, line 36
Class
- AssetInjectorDeleteForm
- Builds the form to delete Css Injector entities.
Namespace
Drupal\asset_injector\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}