function breakpoints_form_system_theme_settings_alter in Breakpoints 7
Implements hook_permission().
File
- ./
breakpoints.module, line 905 - Breakpoints @todo: provide button to reload breakpoints from theme
Code
function breakpoints_form_system_theme_settings_alter(&$form, &$form_state) {
if (isset($form_state['build_info']['args'][0])) {
$form['actions']['rescan_breakpoints'] = array(
'#type' => 'submit',
'#value' => t('Scan this theme for breakpoints'),
'#submit' => array(
'breakpoints_form_system_theme_settings_alter_submit',
),
);
}
}