public deleteContentTypeDraft ( $contentTypeId ) : eZ\Publish\Core\REST\Server\Values\NoContent | ||
$contentTypeId | ||
return | eZ\Publish\Core\REST\Server\Values\NoContent |
public function deleteContentTypeDraft($contentTypeId)
{
$contentTypeDraft = $this->contentTypeService->loadContentTypeDraft($contentTypeId);
$this->contentTypeService->deleteContentType($contentTypeDraft);
return new Values\NoContent();
}