You are here

public function ConnectionType::getEndpointDescription in RedHen CRM 8

Gets the connection type's endpoint description.

Parameters

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

Return value

string The description for endpoint $num.

Overrides ConnectionTypeInterface::getEndpointDescription

File

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

Class

ConnectionType
Defines the Connection type entity.

Namespace

Drupal\redhen_connection\Entity

Code

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