You are here

function mobile_detect_permission in Mobile Detect 7

Implements hook_permission().

File

./mobile_detect.module, line 135
Lightweight mobile detection based on the Mobile_Detect.php library.

Code

function mobile_detect_permission() {
  return array(
    'view mobile detect debug' => array(
      'title' => t('View Mobile Detect Debug'),
      'description' => t('Allows users to view the Mobile Detect debug blocks, etc.'),
    ),
  );
}