From 26c2f3b990b3e7442e0fb227409843a9a7f90e57 Mon Sep 17 00:00:00 2001
From: Tim Otten <totten@civicrm.org>
Date: Tue, 21 Jun 2016 11:35:39 -0700
Subject: [PATCH] theme.md - Tweak callback spec

---
 docs/theme.md | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/docs/theme.md b/docs/theme.md
index 6f67ca74..f81fa86a 100644
--- a/docs/theme.md
+++ b/docs/theme.md
@@ -310,6 +310,8 @@ function newyork_civicrm_themes(&$themes) {
 }
 
 /**
+ * Determine the URL for a CSS resource file.
+ *
  * @param \Civi\Core\Themes $themes
  * @param string $themeKey
  *   Identify the active theme (ex: 'newyork-blue', 'newyork-hicontrast').
@@ -317,8 +319,10 @@ function newyork_civicrm_themes(&$themes) {
  *   Identify the requested CSS file (ex: 'civicrm', 'org.civicrm.volunteer').
  * @param string $cssFile
  *   Identify the requested CSS file (ex: 'css/civicrm.css', 'css/bootstrap.css').
- * @return array
+ * @return array|\Civi\Core\Themes::PASSTHRU
  *   A list of zero or more CSS URLs.
+ *   To pass responsibility to another URL callback, return
+ *   the constant \Civi\Core\Themes::PASSTHRU.
  */
 function _newyork_css_url($themes, $themeKey, $cssExt, $cssFile) {
   return array('http://example.com/css/myfile.css');
-- 
GitLab