You are here

public function RoleFilter::defaultConfiguration in Search API 8

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ConfigurablePluginBase::defaultConfiguration

File

src/Plugin/search_api/processor/RoleFilter.php, line 47

Class

RoleFilter
Filters out users based on their role.

Namespace

Drupal\search_api\Plugin\search_api\processor

Code

public function defaultConfiguration() {
  return [
    'default' => TRUE,
    'roles' => [],
  ];
}