function file_test_stream_wrappers

Implements hook_stream_wrappers().

File

modules/simpletest/tests/file_test.module, line 33

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).'),
        ),
    );
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.