function sendgrid_integration_xautoload in SendGrid Integration 7
Implements hook_xautoload().
File
- ./
sendgrid_integration.module, line 15 - Main module file for SendGrid Integration.
Code
function sendgrid_integration_xautoload($adapter) {
$dir = drupal_get_path('module', 'sendgrid_integration') . '/vendor/composer';
if (file_exists($dir)) {
$adapter
->absolute()
->composerDir($dir);
}
}