public function SearchApiExcludeEntityProcessor::setEntityFieldManager in Search API Exclude Entity 8
Sets the entity field manager.
Parameters
\Drupal\Core\Entity\EntityFieldManagerInterface $entity_field_manager: The new entity field manager.
Return value
$this
File
- src/
Plugin/ search_api/ processor/ SearchApiExcludeEntityProcessor.php, line 64
Class
- SearchApiExcludeEntityProcessor
- Excludes entities marked as 'excluded' from being indexes.
Namespace
Drupal\search_api_exclude_entity\Plugin\search_api\processorCode
public function setEntityFieldManager(EntityFieldManagerInterface $entity_field_manager) {
$this->entityFieldManager = $entity_field_manager;
return $this;
}