public function SoulMate::setEntityTypeManager in Search API 8
Sets the entity type manager.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The new entity type manager.
Return value
$this
File
- tests/
search_api_test_extraction/ src/ Plugin/ search_api/ processor/ SoulMate.php, line 77
Class
- SoulMate
- Adds the user's soul mate node for indexing.
Namespace
Drupal\search_api_test_extraction\Plugin\search_api\processorCode
public function setEntityTypeManager(EntityTypeManagerInterface $entity_type_manager) {
$this->entityTypeManager = $entity_type_manager;
return $this;
}