Commit 81ed3ecb authored by catch's avatar catch

Issue #2003564 by manarth: Remove drupal_add_css() from block.module — use #attached.

parent 24d1333c
...@@ -14,8 +14,11 @@ ...@@ -14,8 +14,11 @@
* @see block_menu() * @see block_menu()
*/ */
function block_admin_demo($theme = NULL) { function block_admin_demo($theme = NULL) {
drupal_add_css(drupal_get_path('module', 'block') . '/block.admin.css'); return array(
return ''; '#attached' => array(
'css' => array(drupal_get_path('module', 'block') . '/block.admin.css'),
),
);
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment