You are here

public function FacConfig::getSearchPluginConfig in Fast Autocomplete 8

Gets the Search Plugin configuration.

Return value

array The Search Plugin configuration.

Overrides FacConfigInterface::getSearchPluginConfig

File

src/Entity/FacConfig.php, line 208

Class

FacConfig
Defines the FacConfig entity.

Namespace

Drupal\fac\Entity

Code

public function getSearchPluginConfig() {
  $config = json_decode($this->searchPluginConfig, TRUE);
  if (empty($config)) {
    $config = [];
  }
  return $config;
}