You are here

public function ConnectionType::getEndpointBundles in RedHen CRM 8

Gets the connection type's endpoint bundles.

Parameters

int $num: The endpoint to return the description for.

Return value

array The array of enabled bundles.

Overrides ConnectionTypeInterface::getEndpointBundles

1 call to ConnectionType::getEndpointBundles()
ConnectionType::getEndpointEntityTypes in modules/redhen_connection/src/Entity/ConnectionType.php
Gets all entity types for this connection type.

File

modules/redhen_connection/src/Entity/ConnectionType.php, line 145

Class

ConnectionType
Defines the Connection type entity.

Namespace

Drupal\redhen_connection\Entity

Code

public function getEndpointBundles($num) {
  $bundles = NULL;
  if (isset($this->endpoints[$num]['bundles'])) {
    $bundles = $this->endpoints[$num]['bundles'];
  }
  return $bundles;
}