I have module name is salesforce_auth
and I have created a folder name includes into my module and I have put my php file into includes folder name is PushToSlackRepository.php
and I have loaded my php file into my module like below:
module_load_include('php', 'salesforce_auth', 'includes/PushToSlackRepository');
But its not loading my php file into my module. where I am doing wrong? I am new to drupal and need your help? Thanks in advance
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.