createContentType()
public method
Creates a content type with $identifier on content type group with identifier $groupIdentifier and with the
given 'fields' definitions.
public createContentType ( string $groupIdentifier, string $identifier, array $fields ) : eZ\Publish\API\Repository\Values\ContentType\ContentType |
$groupIdentifier |
string |
content type group identifier |
$identifier |
string |
content type identifier |
$fields |
array |
content type fields definitions |
return |
eZ\Publish\API\Repository\Values\ContentType\ContentType |
|