function FeedDeleteForm::getDeletionMessage

Same name and namespace in other branches
  1. 9 core/modules/aggregator/src/Form/FeedDeleteForm.php \Drupal\aggregator\Form\FeedDeleteForm::getDeletionMessage()

Overrides ContentEntityDeleteForm::getDeletionMessage

File

core/modules/aggregator/src/Form/FeedDeleteForm.php, line 32

Class

FeedDeleteForm
Provides a form for deleting a feed.

Namespace

Drupal\aggregator\Form

Code

protected function getDeletionMessage() {
    return $this->t('The feed %label has been deleted.', [
        '%label' => $this->entity
            ->label(),
    ]);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.