public function ConnectionType::getEndpointLabel in RedHen CRM 8
Gets the connection type's endpoint label.
Parameters
int $num: The endpoint to return the label for.
Return value
string The label for endpoint $num.
Overrides ConnectionTypeInterface::getEndpointLabel
File
- modules/
redhen_connection/ src/ Entity/ ConnectionType.php, line 94
Class
- ConnectionType
- Defines the Connection type entity.
Namespace
Drupal\redhen_connection\EntityCode
public function getEndpointLabel($num) {
$label = NULL;
if (isset($this->endpoints[$num]['label'])) {
$label = $this->endpoints[$num]['label'];
}
return $label;
}