function slack_get_default_webhook_url in Slack 6
Same name and namespace in other branches
- 7 includes/slack.api.inc \slack_get_default_webhook_url()
Get default Webhook URL.
Return value
string Get default Webhook URL.
2 calls to slack_get_default_webhook_url()
- slack_configure_form in includes/
pages/ slack.admin.inc - Slack module admin form.
- slack_send_message in includes/
slack.api.inc - Send message to the Slack.
File
- includes/
slack.api.inc, line 81 - Slack integration module API functions.
Code
function slack_get_default_webhook_url() {
$channel = variable_get('slack_webhook_url', NULL);
return $channel;
}