protected getContentTypeList ( ) : |
||
Результат |
protected function getContentTypeList()
{
$contentTypes = array();
foreach ($this->contentTypeService->loadContentTypeGroups() as $contentTypeGroup) {
$contentTypes = array_merge($contentTypes, $this->contentTypeService->loadContentTypes($contentTypeGroup));
}
return $contentTypes;
}