You are here

public function ProcessorPluginBase::isLocked in Search API 8

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 133

Class

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

Namespace

Drupal\search_api\Processor

Code

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