You are here

public function ProcessorPluginBase::isHidden in Facets 8

Same name in this branch
  1. 8 src/Processor/ProcessorPluginBase.php \Drupal\facets\Processor\ProcessorPluginBase::isHidden()
  2. 8 modules/facets_summary/src/Processor/ProcessorPluginBase.php \Drupal\facets_summary\Processor\ProcessorPluginBase::isHidden()

Determines whether this processor should be hidden from the user.

Return value

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

Overrides ProcessorInterface::isHidden

File

modules/facets_summary/src/Processor/ProcessorPluginBase.php, line 60

Class

ProcessorPluginBase
A base class for plugins that implements most of the boilerplate.

Namespace

Drupal\facets_summary\Processor

Code

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