summaryrefslogtreecommitdiff
path: root/modules/system/system.api.php
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-02-07 00:42:00 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-02-07 00:42:00 +0000
commitc197ce35245deff8b6c591215413f13ebd1c2f96 (patch)
tree32af79cab86acda593da054ee6be2ad4f3eef5bd /modules/system/system.api.php
parent88cc7138379302f8584785a05ba11f0a9ac83247 (diff)
downloadbrdo-c197ce35245deff8b6c591215413f13ebd1c2f96.tar.gz
brdo-c197ce35245deff8b6c591215413f13ebd1c2f96.tar.bz2
#706718 by heyrocker: Fixed API documentation for hook_stream_wrappers().
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,
)
);
}