mobile_detect_ctools.module in Mobile Detect 7
Hooks implementations for the mobile_detect_ctools module.
File
mobile_detect_ctools/mobile_detect_ctools.moduleView source
<?php
/**
* @file
* Hooks implementations for the mobile_detect_ctools module.
*/
/**
* Implements hook_ctools_plugin_api().
*/
function mobile_detect_ctools_ctools_plugin_api($module, $api) {
if ($module == 'mobile_detect' && $api == 'mobile_detect') {
return array(
'version' => 3,
);
}
}
/**
* Implements hook_ctools_plugin_directory().
*/
function mobile_detect_ctools_ctools_plugin_directory($module, $plugin) {
if ($plugin == 'access') {
return 'plugins/' . $plugin;
}
}
Functions
Name | Description |
---|---|
mobile_detect_ctools_ctools_plugin_api | Implements hook_ctools_plugin_api(). |
mobile_detect_ctools_ctools_plugin_directory | Implements hook_ctools_plugin_directory(). |