system_admin_compact_mode

  1. drupal
    1. drupal6
    2. drupal7
Versionen
drupal6 – drupal7 system_admin_compact_mode()

Determine if a user is in compact mode.

▾ 2 functions call system_admin_compact_mode()

theme_admin_block_content in modules/system/system.admin.inc
This function formats the content of an administrative block.
theme_admin_page in modules/system/system.admin.inc
This function formats an administrative page for viewing.

Code

modules/system/system.module, line 1223

<?php
function system_admin_compact_mode() {
  global $user;
  return (isset($user->admin_compact_mode)) ? $user->admin_compact_mode : variable_get('admin_compact_mode', FALSE);
}
?>

Kommentare

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen