123456789101112131415161718192021222324252627 |
- <?php
- namespace Drupal\materio_sapi\Plugin\search_api\processor\Property;
- use Drupal\Core\Entity\TypedData\EntityDataDefinition;
- use Drupal\search_api\Processor\ProcessorPropertyInterface;
- /**
- * Provides a definition for a processor property that contains an entity.
- */
- class TermDeltaEntityProcessorProperty extends EntityDataDefinition implements ProcessorPropertyInterface {
- /**
- * {@inheritdoc}
- */
- public function getProcessorId() {
- return $this->definition['processor_id'];
- }
- /**
- * {@inheritdoc}
- */
- public function isHidden() {
- return !empty($this->definition['hidden']);
- }
- }
|