function webhook_trim in Slack 7
Form validate handler for the slack settings form.
1 string reference to 'webhook_trim'
- slack_configure_form in includes/
pages/ slack.admin.inc - Slack module admin form.
File
- includes/
pages/ slack.admin.inc, line 11 - Slack integration module admin functions.
Code
function webhook_trim($form, &$form_state) {
$form_state['values']['slack_webhook_url'] = trim($form_state['values']['slack_webhook_url']);
}