#706718 by heyrocker: Fixed API documentation for hook_stream_wrappers().
parent
88cc713837
commit
c197ce3524
|
@ -1558,6 +1558,9 @@ function hook_modules_uninstalled($modules) {
|
||||||
* - 'class' A string specifying the PHP class that implements the
|
* - 'class' A string specifying the PHP class that implements the
|
||||||
* DrupalStreamWrapperInterface interface.
|
* DrupalStreamWrapperInterface interface.
|
||||||
* - 'description' A string with a short description of what the wrapper does.
|
* - '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 file_get_stream_wrappers()
|
||||||
* @see hook_stream_wrappers_alter()
|
* @see hook_stream_wrappers_alter()
|
||||||
|
@ -1579,6 +1582,7 @@ function hook_stream_wrappers() {
|
||||||
'name' => t('Temporary files'),
|
'name' => t('Temporary files'),
|
||||||
'class' => 'DrupalTempStreamWrapper',
|
'class' => 'DrupalTempStreamWrapper',
|
||||||
'description' => t('Temporary local files for upload and previews.'),
|
'description' => t('Temporary local files for upload and previews.'),
|
||||||
|
'type' => STREAM_WRAPPERS_HIDDEN,
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue