You are here

public function ProcessorPluginBase::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 HideablePluginBase::isHidden

File

src/Processor/ProcessorPluginBase.php, line 140

Class

ProcessorPluginBase
Defines a base class from which other processors may extend.

Namespace

Drupal\search_api\Processor

Code

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