You are here

public function SavedSearch::getPath in Search API Saved Searches 8

Retrieves the path to the saved search's original search page.

Return value

string|null An internal path to the original search page for this saved search, or NULL if there was none set.

Overrides SavedSearchInterface::getPath

File

src/Entity/SavedSearch.php, line 549

Class

SavedSearch
Provides an entity type for saved searches.

Namespace

Drupal\search_api_saved_searches\Entity

Code

public function getPath() {
  return $this
    ->get('path')->value;
}