function SearchInterface::suggestedTitle
Same name in other branches
- 9 core/modules/search/src/Plugin/SearchInterface.php \Drupal\search\Plugin\SearchInterface::suggestedTitle()
- 10 core/modules/search/src/Plugin/SearchInterface.php \Drupal\search\Plugin\SearchInterface::suggestedTitle()
- 11.x 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\PluginCode
public function suggestedTitle();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.