public function ConnectionRelationship::getEntityTypeManager in RedHen CRM 8
Retrieves the entity type manager.
Return value
\Drupal\Core\Entity\EntityTypeManagerInterface The entity type manager.
File
- modules/
redhen_connection/ src/ Plugin/ views/ relationship/ ConnectionRelationship.php, line 31
Class
- ConnectionRelationship
- Views relationship plugin for datasources.
Namespace
Drupal\redhen_connection\Plugin\views\relationshipCode
public function getEntityTypeManager() {
return $this->entityTypeManager ?: \Drupal::entityTypeManager();
}