You are here

public function HideablePluginBase::isHidden in Search API 8

Determines whether this plugin should be hidden in the UI.

Return value

bool TRUE if this processor should be hidden from the user; FALSE otherwise.

Overrides HideablePluginInterface::isHidden

1 method overrides HideablePluginBase::isHidden()
ProcessorPluginBase::isHidden in src/Processor/ProcessorPluginBase.php
Determines whether this plugin should be hidden in the UI.

File

src/Plugin/HideablePluginBase.php, line 15

Class

HideablePluginBase
Provides a base class for plugins that can be hidden.

Namespace

Drupal\search_api\Plugin

Code

public function isHidden() {
  return !empty($this->pluginDefinition['no_ui']);
}