function FeedHtmlRouteProvider::getEditFormRoute

Same name in other branches
  1. 8.9.x core/modules/aggregator/src/FeedHtmlRouteProvider.php \Drupal\aggregator\FeedHtmlRouteProvider::getEditFormRoute()

Overrides AdminHtmlRouteProvider::getEditFormRoute

File

core/modules/aggregator/src/FeedHtmlRouteProvider.php, line 26

Class

FeedHtmlRouteProvider
Provides HTML routes for the feed entity type.

Namespace

Drupal\aggregator

Code

protected function getEditFormRoute(EntityTypeInterface $entity_type) {
    $route = parent::getEditFormRoute($entity_type);
    $route->setDefault('_title', 'Configure');
    return $route;
}

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