class FeedHtmlRouteProvider
Same name in other branches
- 9 core/modules/aggregator/src/FeedHtmlRouteProvider.php \Drupal\aggregator\FeedHtmlRouteProvider
Provides HTML routes for the feed entity type.
Hierarchy
- class \Drupal\Core\Entity\Routing\DefaultHtmlRouteProvider implements \Drupal\Core\Entity\Routing\EntityRouteProviderInterface, \Drupal\Core\Entity\EntityHandlerInterface
- class \Drupal\Core\Entity\Routing\AdminHtmlRouteProvider extends \Drupal\Core\Entity\Routing\DefaultHtmlRouteProvider
- class \Drupal\aggregator\FeedHtmlRouteProvider extends \Drupal\Core\Entity\Routing\AdminHtmlRouteProvider
- class \Drupal\Core\Entity\Routing\AdminHtmlRouteProvider extends \Drupal\Core\Entity\Routing\DefaultHtmlRouteProvider
Expanded class hierarchy of FeedHtmlRouteProvider
File
-
core/
modules/ aggregator/ src/ FeedHtmlRouteProvider.php, line 11
Namespace
Drupal\aggregatorView source
class FeedHtmlRouteProvider extends AdminHtmlRouteProvider {
/**
* {@inheritdoc}
*/
protected function getCanonicalRoute(EntityTypeInterface $entity_type) {
$route = parent::getCanonicalRoute($entity_type);
$route->setDefault('_title_controller', '\\Drupal\\aggregator\\Controller\\AggregatorController::feedTitle');
return $route;
}
/**
* {@inheritdoc}
*/
protected function getEditFormRoute(EntityTypeInterface $entity_type) {
$route = parent::getEditFormRoute($entity_type);
$route->setDefault('_title', 'Configure');
return $route;
}
}
Members
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.