public function SearchExcludeNodeSearch::defaultConfiguration in Search Exclude (Node) 8
Same name and namespace in other branches
- 2.x src/Plugin/Search/SearchExcludeNodeSearch.php \Drupal\search_exclude\Plugin\Search\SearchExcludeNodeSearch::defaultConfiguration()
- 2.0.x src/Plugin/Search/SearchExcludeNodeSearch.php \Drupal\search_exclude\Plugin\Search\SearchExcludeNodeSearch::defaultConfiguration()
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides NodeSearch::defaultConfiguration
File
- src/
Plugin/ Search/ SearchExcludeNodeSearch.php, line 84
Class
- SearchExcludeNodeSearch
- Search plugin to exclude node bundles from the Search module index.
Namespace
Drupal\search_exclude\Plugin\SearchCode
public function defaultConfiguration() {
$configuration = parent::defaultConfiguration();
$configuration['excluded_bundles'] = [];
return $configuration;
}