public function ConnectionType::getAllEndpointFields in RedHen CRM 8
Get all endpoint fields for this connection type.
Return value
array The field names that reference connections.
Overrides ConnectionTypeInterface::getAllEndpointFields
File
- modules/
redhen_connection/ src/ Entity/ ConnectionType.php, line 133
Class
- ConnectionType
- Defines the Connection type entity.
Namespace
Drupal\redhen_connection\EntityCode
public function getAllEndpointFields() {
$fields = [];
foreach ($this->endpoints as $id => $endpoint) {
$fields[] = 'endpoint_' . $id;
}
return $fields;
}