Newscoop\Content\ContentTypeService::getOptions PHP Method

getOptions() public method

Get options
public getOptions ( ) : array
return array
    public function getOptions()
    {
        $types = \ArticleType::GetArticleTypes($p_includeHidden = false);
        $options = array();
        foreach ($types as $type) {
            $options[$type] = $type;
        }
        return $options;
    }
ContentTypeService