diff --git a/fulcrm_webhook_user/fulcrm_webhook_user.admin.inc b/fulcrm_webhook_user/fulcrm_webhook_user.admin.inc new file mode 100644 index 0000000..d927dc7 --- /dev/null +++ b/fulcrm_webhook_user/fulcrm_webhook_user.admin.inc @@ -0,0 +1,17 @@ + 'item', + '#title' => 'fulcrm user webhook Settings', + '#description' => '', + ); + + return $form; +} + +function fulcrm_webhook_user_admin() { + return drupal_get_form( 'fulcrm_webhook_user_admin_form' ); +} diff --git a/fulcrm_webhook_user/fulcrm_webhook_user.info b/fulcrm_webhook_user/fulcrm_webhook_user.info new file mode 100644 index 0000000..e4a4718 --- /dev/null +++ b/fulcrm_webhook_user/fulcrm_webhook_user.info @@ -0,0 +1,6 @@ +name = fulcrm user webhook +description = update users from person records in fulcrm +core = 7.x +package = fulcrm +configure = admin/config/services/fulcrm/webhook_user +dependencies[] = fulcrm_webhook diff --git a/fulcrm_webhook_user/fulcrm_webhook_user.module b/fulcrm_webhook_user/fulcrm_webhook_user.module new file mode 100644 index 0000000..111bf7e --- /dev/null +++ b/fulcrm_webhook_user/fulcrm_webhook_user.module @@ -0,0 +1,27 @@ + 'system_admin_menu_block_page', + 'file' => 'system.admin.inc', + 'file path' => drupal_get_path('module', 'system'), + 'title' => 'fulcrm', + 'description' => 'Configuration integration with fulcrm.org.', + 'position' => 'right', + 'access callback' => 'user_access', + 'access arguments' => array('access administration pages'), + ); + */ + $items[ 'admin/config/services/fulcrm/webhook_user' ] = array( 'page callback' => 'fulcrm_webhook_user_admin', + 'file' => 'fulcrm_webhook_user.admin.inc', + 'title' => 'fulcrm user webhook', + 'description' => 'Configure user webhook for fulcrm.org.', + 'access callback' => 'user_access', + 'access arguments' => array('administer fulcrm webhooks'), + ); + return $items; +} + +function fulcrm_webhook_user_fulcrm_find_entity( $fulcrm_type, $fulcrm_pk ) { + +}