public function SearchPage::getPath in Drupal 10
Same name and namespace in other branches
- 8 core/modules/search/src/Entity/SearchPage.php \Drupal\search\Entity\SearchPage::getPath()
- 9 core/modules/search/src/Entity/SearchPage.php \Drupal\search\Entity\SearchPage::getPath()
Returns the path for the search.
Return value
string The part of the path for this search page that comes after 'search'.
Overrides SearchPageInterface::getPath
File
- core/
modules/ search/ src/ Entity/ SearchPage.php, line 166
Class
- SearchPage
- Defines a configured search page.
Namespace
Drupal\search\EntityCode
public function getPath() {
return $this->path;
}