GlobalConstTable::convertToProperty: Bitrix method

      
<?php 
//  Bitrix\Bizproc\Workflow\Type\Entity\GlobalConstTable :: convertToProperty()
//  /dist/bitrix/modules/bizproc/lib/workflow/type/entity/globalconst.php:94

    
public static function convertToProperty(array $fields)
    {
        return [
            
'Name' => $fields['NAME'],
            
'Description' => $fields['DESCRIPTION'],
            
'Type' => $fields['PROPERTY_TYPE'],
            
'Required' => ($fields['IS_REQUIRED'] === 'Y'),
            
'Multiple' => ($fields['IS_MULTIPLE'] === 'Y'),
            
'Options' => $fields['PROPERTY_OPTIONS'],
            
'Default' => $fields['PROPERTY_VALUE'],
        ];
    }