createContentType()
public method
Creates a new content type draft in the given content type group.
public createContentType ( $contentTypeGroupId, Request $request ) : CreatedContentType |
$contentTypeGroupId |
|
|
$request |
Symfony\Component\HttpFoundation\Request |
|
return |
eZ\Publish\Core\REST\Server\Values\CreatedContentType |
|