SearchController::editTitle

public SearchController::editTitle(SearchPageInterface $search_page)

Route title callback.

Parameters

\Drupal\search\SearchPageInterface $search_page: The search page entity.

Return value

string The title for the search page edit form.

File

core/modules/search/src/Controller/SearchController.php, line 191

Class

SearchController
Route controller for search.

Namespace

Drupal\search\Controller

Code

public function editTitle(SearchPageInterface $search_page) {
  return $this->t('Edit %label search page', array('%label' => $search_page->label()));
}
doc_Drupal
2016-10-29 09:40:14
Comments
Leave a Comment

Please login to continue.