public AggregatorController::feedTitle(FeedInterface $aggregator_feed)
Route title callback.
Parameters
\Drupal\aggregator\FeedInterface $aggregator_feed: The aggregator feed.
Return value
array The feed label as a render array.
File
- core/modules/aggregator/src/Controller/AggregatorController.php, line 192
Class
- AggregatorController
- Returns responses for aggregator module routes.
Namespace
Drupal\aggregator\Controller
Code
public function feedTitle(FeedInterface $aggregator_feed) { return ['#markup' => $aggregator_feed->label(), '#allowed_tags' => Xss::getHtmlTagList()]; }
Please login to continue.