filefield_paths_test.module 336 B

12345678910111213141516
  1. <?php
  2. /**
  3. * @file
  4. * Core functions for the File (Field) Paths tests module.
  5. */
  6. /**
  7. * Implements hook_stream_wrappers_alter().
  8. *
  9. * @param $wrappers
  10. */
  11. function filefield_paths_test_stream_wrappers_alter(&$wrappers) {
  12. $wrappers['ffp'] = $wrappers['public'];
  13. $wrappers['ffp']['type'] = STREAM_WRAPPERS_READ_VISIBLE;
  14. }