By jhodgdon on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.0.x
Introduced in version:
8.0.x
Issue links:
Description:
The interface for Search page plugins, \Drupal\Core\search\Plugin\SearchInterface has a new method, suggestedTitle(). This allows search page plugins to provide a title for search results pages.
Most plugins will just use the default implementation provided by SearchPluginBase, which makes the title "Search" if there are no keywords, and "Search for [keywords]" if there are keywords. Thus, most search page plugins will not need any code changes to comply with this change in the interface.
Impacts:
Module developers