You are here

public function CacheflushEntityDeleteForm::getConfirmText in CacheFlush 8

Returns a caption for the button that confirms the action.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.

Overrides ContentEntityConfirmFormBase::getConfirmText

File

modules/cacheflush_ui/src/Entity/Form/CacheflushEntityDeleteForm.php, line 55

Class

CacheflushEntityDeleteForm
Provides a form for deleting Xerox entity entities.

Namespace

Drupal\cacheflush_ui\Entity\Form

Code

public function getConfirmText() {
  return $this
    ->t('Delete');
}