Arikaim CMS

ContentTypeFactory
in package

Content type factory

Table of Contents

Constants

CONTENT_TYPES_FILE_NAME  = \Arikaim\Core\Utils\Path::CONFIG_PATH . 'content-types.php'
Default content types registry config file name

Methods

create()  : ContentTypeInterface|null
Create content type
has()  : bool
Check if content type exists

Constants

CONTENT_TYPES_FILE_NAME

Default content types registry config file name

public mixed CONTENT_TYPES_FILE_NAME = \Arikaim\Core\Utils\Path::CONFIG_PATH . 'content-types.php'

Methods

has()

Check if content type exists

public static has(string $name) : bool
Parameters
$name : string
Return values
bool

        
On this page

Search results