function hook_stream_wrappers_alter
Alters the list of PHP stream wrapper implementations.
See also
Related topics
1 invocation of hook_stream_wrappers_alter()
- file_get_stream_wrappers in includes/
file.inc - Provides Drupal stream wrapper registry.
File
-
modules/
system/ system.api.php, line 2821
Code
function hook_stream_wrappers_alter(&$wrappers) {
// Change the name of private files to reflect the performance.
$wrappers['private']['name'] = t('Slow files');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.