public function getAssetFieldDefinition(): FieldDefinition
    {
        $contentType = $this->contentTypeService->loadContentTypeByIdentifier(
            $this->mappings['content_type_identifier']
        );

        return $contentType->getFieldDefinition(
            $this->mappings['content_field_identifier']
        );
    }
public function getAssetFieldDefinition(): FieldDefinition
    {
        $contentType = $this->contentTypeService->loadContentTypeByIdentifier(
            $this->mappings['content_type_identifier']
        );

        return $contentType->getFieldDefinition(
            $this->mappings['content_field_identifier']
        );
    }
public function getAssetFieldDefinition ( ) : FieldDefinition { $ contentType = $ this -> contentTypeService -> loadContentTypeByIdentifier ( $ this -> mappings [ 'content_type_identifier' ] ) ; return $ contentType -> getFieldDefinition ( $ this -> mappings [ 'content_field_identifier' ] ) ; }
Returns definition of the field which is used to store value of the Image Asset.

@return \eZ\Publish\API\Repository\Values\ContentType\FieldDefinition
Returns definition of the field which is used to store value of the Image Asset .