Search for parseFile

  1. Search 7.x for parseFile
  2. Search 9.5.x for parseFile
  3. Search 8.9.x for parseFile
  4. Search 10.3.x for parseFile
  5. Other projects
Title Object type File name Summary
ContentDispositionFilenameParser::parseFilename function core/modules/file/src/Upload/ContentDispositionFilenameParser.php Parse the content disposition header and return the filename.
ContentDispositionFilenameParserTest::testParseFilenameExtended function core/modules/file/tests/src/Unit/Upload/ContentDispositionFilenameParserTest.php @covers ::parseFilename
ContentDispositionFilenameParserTest::testParseFilenameInvalid function core/modules/file/tests/src/Unit/Upload/ContentDispositionFilenameParserTest.php @covers ::parseFilename
@dataProvider invalidHeaderProvider
ContentDispositionFilenameParserTest::testParseFilenameMissing function core/modules/file/tests/src/Unit/Upload/ContentDispositionFilenameParserTest.php @covers ::parseFilename
ContentDispositionFilenameParserTest::testParseFilenameSuccess function core/modules/file/tests/src/Unit/Upload/ContentDispositionFilenameParserTest.php Tests the parseFilename() method.
GDToolkit::parseFile function core/modules/system/src/Plugin/ImageToolkit/GDToolkit.php Determines if a file contains a valid image.
ImageTest::testParseFileFails function core/tests/Drupal/Tests/Core/Image/ImageTest.php Tests \Drupal\Core\Image\Image::parseFile().
ImageToolkitInterface::parseFile function core/lib/Drupal/Core/ImageToolkit/ImageToolkitInterface.php Determines if a file contains a valid image.
TestToolkit::parseFile function core/modules/system/tests/modules/image_test/src/Plugin/ImageToolkit/TestToolkit.php Determines if a file contains a valid image.

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