Class

eZ\Publish\API\Repository\Values\ContentType\ContentTypeDraft

abstract class ContentTypeDraft extends ContentType

This class represents a draft of a content type.

Constants

STATUS_DEFINED

STATUS_DRAFT

STATUS_MODIFIED

Methods

ContentTypeGroup[] getContentTypeGroups()

This method returns the content type groups this content type is assigned to.

from ContentType
FieldDefinition[] getFieldDefinitions()

This method returns the content type field definitions from this type.

from ContentType
FieldDefinition getFieldDefinition(string $fieldDefinitionIdentifier)

This method returns the field definition for the given identifier.

from ContentType

Details

in ContentType at line 171
abstract public ContentTypeGroup[] getContentTypeGroups()

This method returns the content type groups this content type is assigned to.

Return Value

ContentTypeGroup[]

in ContentType at line 178
abstract public FieldDefinition[] getFieldDefinitions()

This method returns the content type field definitions from this type.

Return Value

FieldDefinition[]

in ContentType at line 187
abstract public FieldDefinition getFieldDefinition(string $fieldDefinitionIdentifier)

This method returns the field definition for the given identifier.

Parameters

string $fieldDefinitionIdentifier

Return Value

FieldDefinition