You are here

function mobile_detect_ctools_access_summary in Mobile Detect 7

Summary callback.

1 string reference to 'mobile_detect_ctools_access_summary'
mobile_detect_ctools.inc in mobile_detect_ctools/plugins/access/mobile_detect_ctools.inc

File

mobile_detect_ctools/plugins/access/mobile_detect_ctools.inc, line 57

Code

function mobile_detect_ctools_access_summary($conf, $context) {
  return t('User is using a %type device.', array(
    '%type' => preg_replace('/^is/', '', $conf['type']),
  ));
}