protected function FeedHtmlRouteProvider::getEditFormRoute in Drupal 9
Same name and namespace in other branches
- 8 core/modules/aggregator/src/FeedHtmlRouteProvider.php \Drupal\aggregator\FeedHtmlRouteProvider::getEditFormRoute()
Gets the edit-form route.
Parameters
\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type.
Return value
\Symfony\Component\Routing\Route|null The generated route, if available.
Overrides AdminHtmlRouteProvider::getEditFormRoute
File
- core/
modules/ aggregator/ src/ FeedHtmlRouteProvider.php, line 26
Class
- FeedHtmlRouteProvider
- Provides HTML routes for the feed entity type.
Namespace
Drupal\aggregatorCode
protected function getEditFormRoute(EntityTypeInterface $entity_type) {
$route = parent::getEditFormRoute($entity_type);
$route
->setDefault('_title', 'Configure');
return $route;
}