SearchPage::getPath

public 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 160

Class

SearchPage
Defines a configured search page.

Namespace

Drupal\search\Entity

Code

public function getPath() {
  return $this->path;
}
doc_Drupal
2016-10-29 09:40:20
Comments
Leave a Comment

Please login to continue.