public function getFieldDefinitions()
    {
        $fieldDefinitions = array();
        foreach ($this->fieldDefinitionReferences as $reference) {
            $fieldDefinitions[] = $this->contentTypeService->loadFieldDefinition($reference);
        }

        return $fieldDefinitions;
    }
public function getFieldDefinitions()
    {
        $fieldDefinitions = array();
        foreach ($this->fieldDefinitionReferences as $reference) {
            $fieldDefinitions[] = $this->contentTypeService->loadFieldDefinition($reference);
        }

        return $fieldDefinitions;
    }
public function getFieldDefinitions ( ) { $ fieldDefinitions = array ( ) ; foreach ( $ this -> fieldDefinitionReferences as $ reference ) { $ fieldDefinitions [ ] = $ this -> contentTypeService -> loadFieldDefinition ( $ reference ) ; } return $ fieldDefinitions ; }
Fetches and returns the field definitions contained in the list.

@return \eZ\Publish\API\Repository\Values\ContentType\FieldDefinition[]
Fetches and returns the field definitions contained in the list .