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 drupal-7.x/
includes/ file.inc - Provides Drupal stream wrapper registry.
Archivo
- drupal-7.x/
modules/ system/ system.api.php, line 2732 - Hooks provided by Drupal core and the System module.
Código
function hook_stream_wrappers_alter(&$wrappers) {
// Change the name of private files to reflect the performance.
$wrappers['private']['name'] = t('Slow files');
}