function FileMimeTypeTest::getInfo

File

modules/simpletest/tests/file.test, line 2873

Class

FileMimeTypeTest
Tests for file_get_mimetype().

Code

public static function getInfo() {
    return array(
        'name' => 'File mimetypes',
        'description' => 'Test filename mimetype detection.',
        'group' => 'File API',
    );
}

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