Rest/Field/Value.php
public function setFieldDefinitionsList(ContentType $contentType)
    {
        foreach ($contentType->fieldDefinitions as $fieldDef) {
            $this->fieldDefIdentifiers[$fieldDef->identifier] = $fieldDef->fieldTypeIdentifier;
        }
    }
public function setFieldDefinitionsList(ContentType $contentType)
    {
        foreach ($contentType->fieldDefinitions as $fieldDef) {
            $this->fieldDefIdentifiers[$fieldDef->identifier] = $fieldDef->fieldTypeIdentifier;
        }
    }
public function setFieldDefinitionsList ( ContentType $ contentType ) { foreach ( $ contentType -> fieldDefinitions as $ fieldDef ) { $ this -> fieldDefIdentifiers [ $ fieldDef -> identifier ] = $ fieldDef -> fieldTypeIdentifier ; } }
Prepares an array with field type identifiers.

@param \eZ\Publish\API\Repository\Values\ContentType\ContentType $contentType
Prepares an array with field type identifiers .