Commit 71d9179e authored by alexpott's avatar alexpott

Issue #2099391 by dawehner, marthinal | geodaniel: Breadcrumbs for Search...

Issue #2099391 by dawehner, marthinal | geodaniel: Breadcrumbs for Search module should match tab titles.
parent 27da86c9
......@@ -77,6 +77,7 @@ public function view(Request $request, $plugin_id = NULL, $keys = NULL) {
if (!$keys && $request->query->has('keys')) {
$keys = trim($request->query->get('keys'));
}
$build['#title'] = $this->t('Search');
if (!empty($plugin_id)) {
$active_plugin_info = $this->searchManager->getActiveDefinitions();
......
......@@ -42,6 +42,7 @@ protected function routes(RouteCollection $collection) {
$path = 'search/' . $search_info['path'] . '/{keys}';
$defaults = array(
'_content' => 'Drupal\search\Controller\SearchController::view',
'_title' => $search_info['title'],
'plugin_id' => $plugin_id,
'keys' => '',
);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment