public function SavedSearchTypeInterface::getOption in Search API Saved Searches 8
Retrieves a single, possibly nested, option.
Parameters
string $key: The key of the option. Can contain periods (.) to access nested options.
mixed $default: (optional) The value to return if the option wasn't set.
Return value
mixed The value of the specified option if it exists, $default otherwise.
1 method overrides SavedSearchTypeInterface::getOption()
- SavedSearchType::getOption in src/
Entity/ SavedSearchType.php - Retrieves a single, possibly nested, option.
File
- src/
SavedSearchTypeInterface.php, line 130
Class
- SavedSearchTypeInterface
- Provides an interface for saved search types.
Namespace
Drupal\search_api_saved_searchesCode
public function getOption($key, $default = NULL);