summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorwebchick <webchick@24967.no-reply.drupal.org>2011-07-28 15:32:11 -0400
committerwebchick <webchick@24967.no-reply.drupal.org>2011-07-28 15:32:11 -0400
commit13f4debe2bd80551bbc2efe8cf40ebcd2600af3e (patch)
treee15d12e77f623002d87f20c9e63761ea7fc59520 /includes
parent1b7c290435fe977b79620b68591a75bebb277193 (diff)
downloadbrdo-13f4debe2bd80551bbc2efe8cf40ebcd2600af3e.tar.gz
brdo-13f4debe2bd80551bbc2efe8cf40ebcd2600af3e.tar.bz2
Issue #1222794 by gapple, jhodgdon: Fixed drupal_add_css() support for stream wrappers not documented.
Diffstat (limited to 'includes')
-rw-r--r--includes/common.inc15
1 files changed, 8 insertions, 7 deletions
diff --git a/includes/common.inc b/includes/common.inc
index b8cd55f5c..86a70c041 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -2745,13 +2745,14 @@ function drupal_add_html_head_link($attributes, $header = FALSE) {
* @param $data
* (optional) The stylesheet data to be added, depending on what is passed
* through to the $options['type'] parameter:
- * - 'file': The path to the CSS file relative to the base_path(), e.g.,
- * "modules/devel/devel.css". Note that Modules should always prefix the
- * names of their CSS files with the module name; for example,
- * system-menus.css rather than simply menus.css. Themes can override
- * module-supplied CSS files based on their filenames, and this prefixing
- * helps prevent confusing name collisions for theme developers. See
- * drupal_get_css() where the overrides are performed. Also, if the
+ * - 'file': The path to the CSS file relative to the base_path(), or a
+ * stream wrapper URI. For example: "modules/devel/devel.css" or
+ * "public://generated_css/stylesheet_1.css". Note that Modules should
+ * always prefix the names of their CSS files with the module name; for
+ * example, system-menus.css rather than simply menus.css. Themes can
+ * override module-supplied CSS files based on their filenames, and this
+ * prefixing helps prevent confusing name collisions for theme developers.
+ * See drupal_get_css() where the overrides are performed. Also, if the
* direction of the current language is right-to-left (Hebrew, Arabic,
* etc.), the function will also look for an RTL CSS file and append it to
* the list. The name of this file should have an '-rtl.css' suffix. For