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