- Issue created by @Klaas
Sometimes Drupal and CiviCRM are installed in the database. That adds the option to call the CiviCRM API directly and skip the REST calls. This is offers the option to create webforms for users that work in de CiviCRM backend for specialized tasks.
Extend the connector with an extra field that stores the choice between local and remote. If local is picked, a profile is not needed any more (The profile now contains all the information a rest call needs to connect).
This solution needs to add an upgrade script to fill the new field with the value remote (because all connections before this change are remoted.
De local option should not be offered if CiviCRM (from Drupal perspective, the CiviCRM module) is not installed.
Add Connection Type to a connector.
Active
2.0
Code