protected function GroupRelationManager::getGroupTypeStorage in Group 2.0.x
Returns the group type storage handler.
Return value
\Drupal\Core\Config\Entity\ConfigEntityStorageInterface The group type storage handler.
File
- src/
Plugin/ Group/ Relation/ GroupRelationManager.php, line 177
Class
- GroupRelationManager
- Manages GroupRelation plugin implementations.
Namespace
Drupal\group\Plugin\Group\RelationCode
protected function getGroupTypeStorage() {
if (!isset($this->groupTypeStorage)) {
$this->groupTypeStorage = $this->entityTypeManager
->getStorage('group_type');
}
return $this->groupTypeStorage;
}