You are here

function delta_menu_alter in Delta 7.3

Implements hook_menu_alter().

File

./delta.module, line 13
Provide contextual theme settings via context module

Code

function delta_menu_alter(&$items) {
  foreach (list_themes() as $theme) {
    $items['admin/appearance/settings/' . $theme->name]['page arguments'] = array(
      $theme->name,
    );
    $items['admin/appearance/settings/' . $theme->name]['page callback'] = 'delta_theme_settings';
  }
}