You are here

public function PhotosImageSearch::defaultConfiguration in Album Photos 8.5

Same name and namespace in other branches
  1. 6.0.x src/Plugin/Search/PhotosImageSearch.php \Drupal\photos\Plugin\Search\PhotosImageSearch::defaultConfiguration()

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ConfigurableSearchPluginBase::defaultConfiguration

File

src/Plugin/Search/PhotosImageSearch.php, line 834

Class

PhotosImageSearch
Handles searching for photos_image entities using the Search module index.

Namespace

Drupal\photos\Plugin\Search

Code

public function defaultConfiguration() {
  $configuration = [
    'rankings' => [],
  ];
  return $configuration;
}