private function loadCustomTypes()
    {
        $customFields = (array) $this->getConfig('custom_fields');

        if (!empty($customFields)) {
            foreach ($customFields as $fieldName => $fieldClass) {
                $this->addCustomField($fieldName, $fieldClass);
            }
        }
    }
private function loadCustomTypes()
    {
        $customFields = (array) $this->getConfig('custom_fields');

        if (!empty($customFields)) {
            foreach ($customFields as $fieldName => $fieldClass) {
                $this->addCustomField($fieldName, $fieldClass);
            }
        }
    }
private function loadCustomTypes ( ) { $ customFields = ( array ) $ this -> getConfig ( 'custom_fields' ) ; if ( ! empty ( $ customFields ) ) { foreach ( $ customFields as $ fieldName => $ fieldClass ) { $ this -> addCustomField ( $ fieldName , $ fieldClass ) ; } } }
Load custom field types from config file.
Load custom field types from config file .