ProcessorProperty.php in Search API 8
File
src/Processor/ProcessorProperty.php
View source
<?php
namespace Drupal\search_api\Processor;
use Drupal\Core\TypedData\DataDefinition;
class ProcessorProperty extends DataDefinition implements ProcessorPropertyInterface {
public function getProcessorId() {
return $this->definition['processor_id'];
}
public function isHidden() {
return !empty($this->definition['hidden']);
}
public function isList() {
return (bool) ($this->definition['is_list'] ?? parent::isList());
}
}