function SearchPageInterface::getPath

Same name in other branches
  1. 9 core/modules/search/src/SearchPageInterface.php \Drupal\search\SearchPageInterface::getPath()
  2. 8.9.x core/modules/search/src/SearchPageInterface.php \Drupal\search\SearchPageInterface::getPath()
  3. 10 core/modules/search/src/SearchPageInterface.php \Drupal\search\SearchPageInterface::getPath()

Returns the path for the search.

Return value

string The part of the path for this search page that comes after 'search'.

1 method overrides SearchPageInterface::getPath()
SearchPage::getPath in core/modules/search/src/Entity/SearchPage.php
Returns the path for the search.

File

core/modules/search/src/SearchPageInterface.php, line 50

Class

SearchPageInterface
Provides an interface defining a search page entity.

Namespace

Drupal\search

Code

public function getPath();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.