You are here

public function CustomFilterRulesDeleteForm::getDescription in Custom filter 8

Same name and namespace in other branches
  1. 2.0.x src/Form/CustomFilterRulesDeleteForm.php \Drupal\customfilter\Form\CustomFilterRulesDeleteForm::getDescription()

Returns additional text to display as a description.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form description.

Overrides ConfirmFormBase::getDescription

File

src/Form/CustomFilterRulesDeleteForm.php, line 66

Class

CustomFilterRulesDeleteForm
Builds the form to delete a Custom Filter.

Namespace

Drupal\customfilter\Form

Code

public function getDescription() {
  return $this
    ->t('This will delete the rule %name and all sub-rules. This
      action cannot be undone.', array(
    '%name' => $this->rule['name'],
  ));
}