From c197ce35245deff8b6c591215413f13ebd1c2f96 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Sun, 7 Feb 2010 00:42:00 +0000 Subject: #706718 by heyrocker: Fixed API documentation for hook_stream_wrappers(). --- modules/system/system.api.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules/system') 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, ) ); } -- cgit v1.2.3