You are here

public function SearchInterface::suggestedTitle in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/search/src/Plugin/SearchInterface.php \Drupal\search\Plugin\SearchInterface::suggestedTitle()
  2. 9 core/modules/search/src/Plugin/SearchInterface.php \Drupal\search\Plugin\SearchInterface::suggestedTitle()

Provides a suggested title for a page of search results.

Return value

string The translated suggested page title.

1 method overrides SearchInterface::suggestedTitle()
SearchPluginBase::suggestedTitle in core/modules/search/src/Plugin/SearchPluginBase.php
Provides a suggested title for a page of search results.

File

core/modules/search/src/Plugin/SearchInterface.php, line 98

Class

SearchInterface
Defines a common interface for all SearchPlugin objects.

Namespace

Drupal\search\Plugin

Code

public function suggestedTitle();