outside_in_css_alter

outside_in_css_alter(&$css, AttachedAssetsInterface $assets)

Implements hook_css_alter().

File

core/modules/outside_in/outside_in.module, line 148
Allows configuring blocks and other configuration from the site front-end.

Code

function outside_in_css_alter(&$css, AttachedAssetsInterface $assets) {
  // @todo Remove once conditional ordering is introduced in
  //   https://www.drupal.org/node/1945262.
  $path = drupal_get_path('module', 'outside_in') . '/css/outside_in.theme.css';
  if (isset($css[$path])) {
    // Use 200 to come after CSS_AGGREGATE_THEME.
    $css[$path]['group'] = 200;
  }
}
doc_Drupal
2016-10-29 09:32:43
Comments
Leave a Comment

Please login to continue.