deleteContentType()
публичный Метод
Deletes a content type if it has no instances. If content type in state STATUS_DRAFT is
given, only the draft content type will be deleted. Otherwise, if content type in state
STATUS_DEFINED is given, all content type data will be deleted.
public deleteContentType ( eZ\Publish\API\Repository\Values\ContentType\ContentType $contentType ) |
$contentType |
eZ\Publish\API\Repository\Values\ContentType\ContentType |
|