You are here

public function ConnectionTypeInterface::getEndpointEntityTypeId in RedHen CRM 8

Gets the connection type's entity type ID by endpoint.

E.g, if connections of this type are configured to allow Contacts to connect with other Contacts, this will return redhen_contact for both endpoints.

Parameters

int $num: The endpoint to return the entity type for.

Return value

string The entity type ID for endpoint $num.

1 method overrides ConnectionTypeInterface::getEndpointEntityTypeId()
ConnectionType::getEndpointEntityTypeId in modules/redhen_connection/src/Entity/ConnectionType.php
Gets the connection type's entity type ID by endpoint.

File

modules/redhen_connection/src/ConnectionTypeInterface.php, line 25

Class

ConnectionTypeInterface
Provides an interface for defining Connection type entities.

Namespace

Drupal\redhen_connection

Code

public function getEndpointEntityTypeId($num);