function system_page_build

Implements hook_page_build().

File

drupal/core/modules/system/system.module, line 2500
Configuration system that lets administrators modify the workings of the site.

Code

function system_page_build(&$page) {
  $path = drupal_get_path('module', 'system');

  // Adjust the weights to load these early.
  $page['#attached']['css'][$path . '/css/system.module.css'] = array(
    'weight' => CSS_COMPONENT - 10,
    'every_page' => TRUE,
  );
  $page['#attached']['css'][$path . '/css/system.theme.css'] = array(
    'weight' => CSS_SKIN - 10,
    'every_page' => TRUE,
  );
  if (path_is_admin(current_path())) {
    $page['#attached']['css'][$path . '/css/system.admin.css'] = array(
      'weight' => CSS_COMPONENT - 10,
    );
  }
}