file_test_stream_wrappers

7 file_test.module file_test_stream_wrappers()
8 file_test.module file_test_stream_wrappers()

Implements hook_stream_wrappers().

File

modules/simpletest/tests/file_test.module, line 33
Helper module for the file tests.

Code

function file_test_stream_wrappers() {
  return array(
    'dummy' => array(
      'name' => t('Dummy files'), 
      'class' => 'DrupalDummyStreamWrapper', 
      'description' => t('Dummy wrapper for simpletest.'),
    ), 
    'dummy-remote' => array(
      'name' => t('Dummy files (remote)'), 
      'class' => 'DrupalDummyRemoteStreamWrapper', 
      'description' => t('Dummy wrapper for simpletest (remote).'),
    ),
  );
}
Login or register to post comments