You are here

function filefield_paths_test_stream_wrappers_alter in File (Field) Paths 7

Implements hook_stream_wrappers_alter().

Parameters

$wrappers:

File

tests/filefield_paths_test.module, line 13
Core functions for the File (Field) Paths tests module.

Code

function filefield_paths_test_stream_wrappers_alter(&$wrappers) {
  $wrappers['ffp'] = $wrappers['public'];
  $wrappers['ffp']['type'] = STREAM_WRAPPERS_READ_VISIBLE;
}