function mailchimp_lists_rules_access_callback in Mailchimp 8
Same name and namespace in other branches
- 7.5 modules/mailchimp_lists/mailchimp_lists.rules.inc \mailchimp_lists_rules_access_callback()
- 7.2 modules/mailchimp_lists/mailchimp_lists.rules.inc \mailchimp_lists_rules_access_callback()
- 7.3 modules/mailchimp_lists/mailchimp_lists.rules.inc \mailchimp_lists_rules_access_callback()
- 7.4 modules/mailchimp_lists/mailchimp_lists.rules.inc \mailchimp_lists_rules_access_callback()
- 2.x modules/mailchimp_lists/mailchimp_lists.rules.inc \mailchimp_lists_rules_access_callback()
Access callback for the rules integration.
1 string reference to 'mailchimp_lists_rules_access_callback'
- mailchimp_lists_rules_action_info in modules/
mailchimp_lists/ mailchimp_lists.rules.inc - Implements hook_rules_action_info().
File
- modules/
mailchimp_lists/ mailchimp_lists.rules.inc, line 55 - Rules integration for the mailchimp lists module.
Code
function mailchimp_lists_rules_access_callback() {
return \Drupal::currentUser()
->hasPermission('administer mailchimp');
}