function responsive_preview_title_callback in Responsive Theme Preview 7
Constructs a title for the device edit form.
Parameters
$name: A string that identifies a device by its unique name.
Return value
A string to use as the form page title.
1 string reference to 'responsive_preview_title_callback'
- responsive_preview_menu in ./
responsive_preview.module - Implements hook_menu().
File
- ./
responsive_preview.admin.inc, line 546 - Administrative page callbacks for the responsive_preview module.
Code
function responsive_preview_title_callback($name) {
$devices = responsive_preview_get_device_definition();
return t('Edit the device @label', array(
'@label' => $devices[$name]['label'],
));
}