add fulcrm_webhook_user submodule

master
Marek Isalski 9 years ago
parent fcb2285119
commit 42d242b56b

@ -0,0 +1,17 @@
<?php
function fulcrm_webhook_user_admin_form_submit( $form, &$form_state ) {
}
function fulcrm_webhook_user_admin_form( $form, &$form_state ) {
$form[ 'title' ] = array( '#type' => 'item',
'#title' => 'fulcrm user webhook Settings',
'#description' => '',
);
return $form;
}
function fulcrm_webhook_user_admin() {
return drupal_get_form( 'fulcrm_webhook_user_admin_form' );
}

@ -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

@ -0,0 +1,27 @@
<?php /* -*- php -*- */
function fulcrm_webhook_menu() {
/*
$items[ 'admin/config/services/fulcrm' ] = array( 'page callback' => '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 ) {
}
Loading…
Cancel
Save