function slack_get_default_webhook_url in Slack 7
Same name and namespace in other branches
- 6 includes/slack.api.inc \slack_get_default_webhook_url()
Get default Webhook URL.
Return value
string Get default Webhook URL.
5 calls to slack_get_default_webhook_url()
- MessageNotifierSlack::deliver in plugins/
notifier/ slack/ MessageNotifierSlack.class.php - Deliver a message via the required transport method.
- slack_configure_form in includes/
pages/ slack.admin.inc - Slack module admin form.
- slack_rules_send_message_action in ./
slack.rules.inc - Rules action for sending a message to the Slack.
- slack_send_test_message_form_submit in includes/
pages/ slack.pages.inc - Submit handler for slack test message form.
- slack_tokens in ./
slack.tokens.inc - Implements hook_tokens().
File
- includes/
slack.api.inc, line 159 - Slack integration module API functions.
Code
function slack_get_default_webhook_url() {
$channel = variable_get('slack_webhook_url');
return $channel;
}