hook_system_themes_page_alter

Versions
mediamosa-21
hook_system_themes_page_alter(&$theme_groups)

Alters theme operation links.

See also

system_themes_page()

Parameters

$theme_groups An associative array containing groups of themes.

Related topics

Code

modules/system/system.api.php, line 2964

<?php
function hook_system_themes_page_alter(&$theme_groups) {
  foreach ($theme_groups as $state => &$group) {
    foreach($theme_groups[$state] as &$theme) {
      // Add a foo link to each list of theme operations.
      $theme->operations[] = l(t('Foo'), 'admin/appearance/foo', array('query' => array('theme' => $theme->name)));
    }
  }
}
?>