| | |
| | | $this->addFieldProvider('common', new CommonFieldProvider()); |
| | | $this->addFieldProvider('calendar', new CalendarFieldProvider()); |
| | | $this->addFieldProvider('integration', new IntegrationFieldProvider()); |
| | | |
| | | // if (jvbSiteUsesHelcim()) { |
| | | // $this->addFieldProvider('helcim', new HelcimFieldProvider()); |
| | | // } |
| | |
| | | unset($fields['common']); |
| | | } |
| | | |
| | | |
| | | // Apply integration fields |
| | | $fields = $this->applyIntegrationFields($fields, $config, $type); |
| | | |
| | | // Apply filters for extensibility |
| | | $fields = apply_filters(BASE . 'fields', $fields, $type, $object_type); |
| | | $fields = apply_filters(BASE . "{$type}_fields", $fields, $object_type); |
| | | |
| | | return $fields; |
| | | return apply_filters(BASE . "{$type}_fields", $fields, $object_type); |
| | | } |
| | | |
| | | /** |