You are here

public function NodeLimitDeleteForm::getConfirmText in Node Limit 8

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/NodeLimitDeleteForm.php, line 31

Class

NodeLimitDeleteForm
Builds the form to delete a NodeLimit.

Namespace

Drupal\node_limit\Form

Code

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