EntityProcessorProperty.php in Search API 8
File
src/Processor/EntityProcessorProperty.php
View source
<?php
namespace Drupal\search_api\Processor;
use Drupal\Core\Entity\TypedData\EntityDataDefinition;
class EntityProcessorProperty extends EntityDataDefinition 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());
}
}