public function ConnectionServiceInterface::getConnectedEntities in RedHen CRM 8
Returns the other entities that are connected to this entity.
Parameters
\Drupal\Core\Entity\EntityInterface $entity: The entity we're querying against.
string $connection_type: (optional) Limit returned entities to ones connected via this type.
Return value
array The connected entities for this entity.
1 method overrides ConnectionServiceInterface::getConnectedEntities()
- ConnectionService::getConnectedEntities in modules/
redhen_connection/ src/ ConnectionService.php - Returns the other entities that are connected to this entity.
File
- modules/
redhen_connection/ src/ ConnectionServiceInterface.php, line 79
Class
- ConnectionServiceInterface
- Provides an interface for getting connections between entities.
Namespace
Drupal\redhen_connectionCode
public function getConnectedEntities(EntityInterface $entity, $connection_type = NULL);