summaryrefslogtreecommitdiff
path: root/modules/system/system.api.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/system/system.api.php')
-rw-r--r--modules/system/system.api.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/system/system.api.php b/modules/system/system.api.php
index 65ab9725c..e68e17120 100644
--- a/modules/system/system.api.php
+++ b/modules/system/system.api.php
@@ -1558,6 +1558,9 @@ function hook_modules_uninstalled($modules) {
* - 'class' A string specifying the PHP class that implements the
* DrupalStreamWrapperInterface interface.
* - 'description' A string with a short description of what the wrapper does.
+ * - 'type' A bitmask of flags indicating what type of streams this wrapper
+ * will access - local or remote, readable and/or writeable, etc. Many
+ * shortcut constants are defined in stream_wrappers.inc.
*
* @see file_get_stream_wrappers()
* @see hook_stream_wrappers_alter()
@@ -1579,6 +1582,7 @@ function hook_stream_wrappers() {
'name' => t('Temporary files'),
'class' => 'DrupalTempStreamWrapper',
'description' => t('Temporary local files for upload and previews.'),
+ 'type' => STREAM_WRAPPERS_HIDDEN,
)
);
}