Search for extensions

  1. Search 9.5.x for extensions
  2. Search 8.9.x for extensions
  3. Search 10.3.x for extensions
  4. Search 11.x for extensions
  5. Other projects
Title Object type File name Summary
archiver_get_extensions function includes/common.inc Returns a string of supported archive extensions.
FileValidateTest::testInsecureExtensions function modules/simpletest/tests/file.test Tests hard-coded security check in file_validate().
FileValidatorTest::testFileValidateExtensions function modules/simpletest/tests/file.test Test the file_validate_extensions() function.
FILE_INSECURE_EXTENSIONS constant includes/file.inc A pipe-separated list of insecure extensions.
file_validate_extensions function includes/file.inc Checks that the filename ends with an allowed extension.
_file_generic_settings_extensions function modules/file/file.field.inc Element validate callback for the allowed file extensions field.

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