protected function GroupContentEnablerManager::getGroupContentTypeStorage in Group 8
Returns the group content type storage handler.
Return value
\Drupal\group\Entity\Storage\GroupContentTypeStorageInterface The group content type storage handler.
File
- src/
Plugin/ GroupContentEnablerManager.php, line 195
Class
- GroupContentEnablerManager
- Manages GroupContentEnabler plugin implementations.
Namespace
Drupal\group\PluginCode
protected function getGroupContentTypeStorage() {
if (!isset($this->groupContentTypeStorage)) {
$this->groupContentTypeStorage = $this->entityTypeManager
->getStorage('group_content_type');
}
return $this->groupContentTypeStorage;
}