You are here

public function ProcessorPluginBase::isLocked in Facets 8

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

Determines whether this processor should always be enabled.

Return value

bool TRUE if this processor should be forced enabled; FALSE otherwise.

Overrides ProcessorInterface::isLocked

File

src/Processor/ProcessorPluginBase.php, line 61

Class

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

Namespace

Drupal\facets\Processor

Code

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