function admin_theme_list

cis7 admin_theme.module admin_theme_list()
cle7 admin_theme.module admin_theme_list()
elmsmedia7 admin_theme.module admin_theme_list()
icor7 admin_theme.module admin_theme_list()
meedjum_blog7 admin_theme.module admin_theme_list()
mooc7 admin_theme.module admin_theme_list()

Get all module defined options.

Return value

Array. All options.

4 calls to admin_theme_list()
admin_theme_custom_theme in sites/all/modules/ulmus/admin_theme/admin_theme.module
Implementation of hook_custom_theme().
admin_theme_form_system_themes_admin_form_alter in sites/all/modules/ulmus/admin_theme/admin_theme.module
Implementation of hook_form_alter().
admin_theme_form_system_themes_form_alter_submit in sites/all/modules/ulmus/admin_theme/admin_theme.module
Process system_themes_form additions submissions.
admin_theme_uninstall in sites/all/modules/ulmus/admin_theme/admin_theme.install
Implementation of hook_uninstall().

File

sites/all/modules/ulmus/admin_theme/admin_theme.module, line 41
Enable the administration theme on more pages then possible with Drupal's default administration page.

Code

function admin_theme_list() {
  $options = array();
  foreach (module_list() as $module) {
    $module_options = module_invoke($module, 'admin_theme_info');
    if (count($module_options) > 0) {
      foreach ($module_options as $option => $info) {
        $info['option'] = $option;
        $info['module'] = $module;
        $options[] = $info;
      }
    }
  }
  return $options;
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.