begin making the webhook endpoint
This commit is contained in:
@ -33,11 +33,13 @@ function fulcrm_webhook_admin_form( $form, &$form_state ) {
|
||||
'#collapsed' => FALSE,
|
||||
'detail' => array( '#type' => 'item',
|
||||
'#title' => '',
|
||||
'#markup' => '<p>You need to enable SSL on this Drupal instance to continue.</p><p>fulcrm will only send data to HTTPS webhooks.</p>' ),
|
||||
'#markup' => ( '<p>You need to enable SSL on this Drupal site to continue.</p>' .
|
||||
'<p>fulcrm will only send data to HTTPS webhooks.</p>' ),
|
||||
),
|
||||
);
|
||||
$form[ 'actions' ] = array( '#type' => 'actions' );
|
||||
$form[ 'actions' ][ 'save' ] = array( '#type' => 'link',
|
||||
'#title' => t('Reload'),
|
||||
'#title' => t('Reload with SSL'),
|
||||
'#href' => str_replace( 'http://', 'https://', url( 'admin/config/services/fulcrm/webhook', array( 'absolute' => TRUE ) ) ),
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user