summaryrefslogtreecommitdiff
path: root/includes/common.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/common.inc')
-rw-r--r--includes/common.inc21
1 files changed, 21 insertions, 0 deletions
diff --git a/includes/common.inc b/includes/common.inc
index 7830e4015..0310514ad 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -25,6 +25,27 @@ define('SAVED_UPDATED', 2);
define('SAVED_DELETED', 3);
/**
+ * @name Title text filtering flags
+ * @{
+ * Flags for use in drupal_set_title().
+ */
+
+/**
+ * Flag for drupal_set_title(); text is not sanitized, so run check_plain().
+ */
+define('CHECK_PLAIN', 0);
+
+/**
+ * Flag for drupal_set_title(); text has already been sanitized.
+ */
+define('PASS_THROUGH', -1);
+
+/**
+ * @} End of "Title text filtering flags".
+ */
+
+
+/**
* Set content for a specified region.
*
* @param $region