Search for file

  1. Search 7.x for file
  2. Search 9.5.x for file
  3. Search 8.9.x for file
  4. Search 10.3.x for file
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
File class core/modules/media/src/Plugin/media/Source/File.php File entity media source.
File class core/modules/file/src/Entity/File.php Defines the file entity class.
File class core/modules/file/src/Plugin/views/field/File.php Field handler to provide simple renderer that allows linking to a file.
File class core/modules/file/src/Plugin/views/wizard/File.php Tests creating managed files views with the wizard.
File class core/modules/file/src/Plugin/migrate/source/d6/File.php Drupal 6 file source from database.
File class core/modules/file/src/Plugin/migrate/source/d7/File.php Drupal 7 file source from database.
File class core/lib/Drupal/Core/Render/Element/File.php Provides a form element for uploading a file.

All search results

Title Object type File name Summary
IconFinder::getFilesFromSources function core/lib/Drupal/Core/Theme/Icon/IconFinder.php Create files from source paths.
IconFinder::processFoundFiles function core/lib/Drupal/Core/Theme/Icon/IconFinder.php Process files and format icon information.
IconFinderInterface::getFileContents function core/lib/Drupal/Core/Theme/Icon/IconFinderInterface.php Wrapper to the file_get_contents function.
IconFinderInterface::getFilesFromSources function core/lib/Drupal/Core/Theme/Icon/IconFinderInterface.php Create files from source paths.
IconFinderTest::$fileUrlGenerator property core/tests/Drupal/Tests/Core/Theme/Icon/IconFinderTest.php The file url generator instance.
IconFinderTest::providerExtractIconIdFromFilename function core/tests/Drupal/Tests/Core/Theme/Icon/IconFinderTest.php Data provider for ::testExtractIconIdFromFilename().
IconFinderTest::providerGetFileContents function core/tests/Drupal/Tests/Core/Theme/Icon/IconFinderTest.php Data provider for ::testGetFileContents().
IconFinderTest::providerGetFilesFromSourcesPath function core/tests/Drupal/Tests/Core/Theme/Icon/IconFinderTest.php Data provider for ::testGetFilesFromSourcesPath().
IconFinderTest::providerGetFilesFromSourcesUrl function core/tests/Drupal/Tests/Core/Theme/Icon/IconFinderTest.php Data provider for ::testGetFilesFromSourcesUrl().
IconFinderTest::testExtractIconIdFromFilename function core/tests/Drupal/Tests/Core/Theme/Icon/IconFinderTest.php Test the IconFinder::extractIconIdFromFilename method.
IconFinderTest::testExtractIconIdFromFilenameWarning function core/tests/Drupal/Tests/Core/Theme/Icon/IconFinderTest.php Test the IconFinder::extractIconIdFromFilename method with failing pattern.
IconFinderTest::testFindFilesEmptyWarning function core/tests/Drupal/Tests/Core/Theme/Icon/IconFinderTest.php Test the IconFinder::findFiles method with warning when no icons found.
IconFinderTest::testFindFilesWarning function core/tests/Drupal/Tests/Core/Theme/Icon/IconFinderTest.php Test the IconFinder::findFiles method with warning with invalid path.
IconFinderTest::testGetFileContents function core/tests/Drupal/Tests/Core/Theme/Icon/IconFinderTest.php Test the IconFinder::getFileContents method.
IconFinderTest::testGetFileFromUrlWarning function core/tests/Drupal/Tests/Core/Theme/Icon/IconFinderTest.php Test the IconFinder::getFileFromUrl method with warning.
IconFinderTest::testGetFilesFromPathEmptyWarning function core/tests/Drupal/Tests/Core/Theme/Icon/IconFinderTest.php Test the IconFinder::getFilesFromPath method with warning.
IconFinderTest::testGetFilesFromPathInvalidExtensionWarning function core/tests/Drupal/Tests/Core/Theme/Icon/IconFinderTest.php Test the IconFinder::getFilesFromPath method with warning.
IconFinderTest::testGetFilesFromSourcesPath function core/tests/Drupal/Tests/Core/Theme/Icon/IconFinderTest.php Test the IconFinder::getFilesFromSources method with paths.
IconFinderTest::testGetFilesFromSourcesUrl function core/tests/Drupal/Tests/Core/Theme/Icon/IconFinderTest.php Test the IconFinder::getFilesFromSources method with urls.
Image::$fileSize property core/lib/Drupal/Core/Image/Image.php File size in bytes.
Image::$fileSystem property core/modules/media/src/Plugin/media/Source/Image.php The file system service.
Image::getFileSize function core/lib/Drupal/Core/Image/Image.php Returns the size of the image file.
ImageDimensionsTest::$profile property core/modules/image/tests/src/Functional/ImageDimensionsTest.php The profile to install as a basis for testing.
ImageFieldTestBase::getLastFileId function core/modules/image/tests/src/Functional/ImageFieldTestBase.php Retrieves the fid of the last inserted file.
ImageFormatter::$fileUrlGenerator property core/modules/image/src/Plugin/Field/FieldFormatter/ImageFormatter.php The file URL generator.
ImageHooks::fileDownload function core/modules/image/src/Hook/ImageHooks.php Implements hook_file_download().
ImageHooks::fileMove function core/modules/image/src/Hook/ImageHooks.php Implements hook_file_move().
ImageHooks::filePredelete function core/modules/image/src/Hook/ImageHooks.php Implements hook_ENTITY_TYPE_predelete() for file entities.
ImageInterface::getFileSize function core/lib/Drupal/Core/Image/ImageInterface.php Returns the size of the image file.
ImageModuleTestHooks::fileDownload function core/modules/image/tests/modules/image_module_test/src/Hook/ImageModuleTestHooks.php Implements hook_file_download().
ImageStyle::fileDefaultScheme function core/modules/image/src/Entity/ImageStyle.php Provides a wrapper to allow unit testing.
ImageStyleCustomStreamWrappersTest::$fileSystem property core/modules/image/tests/src/Kernel/ImageStyleCustomStreamWrappersTest.php The file system service.
ImageStyleDownloadAccessControlTest::$fileSystem property core/modules/image/tests/src/Functional/ImageStyleDownloadAccessControlTest.php The file system.
ImageStyleDownloadController::$fileSystem property core/modules/image/src/Controller/ImageStyleDownloadController.php File system service.
ImageStyleTest::fileDefaultScheme function core/modules/image/tests/src/Unit/ImageStyleTest.php Mock function for ImageStyle::fileDefaultScheme().
ImageTest::$fileUrlGenerator property core/tests/Drupal/KernelTests/Core/Theme/ImageTest.php The file URL generator.
ImageTest::testGetFileSize function core/tests/Drupal/Tests/Core/Image/ImageTest.php Tests \Drupal\Core\Image\Image::getFileSize.
ImageTest::testParseFileFails function core/tests/Drupal/Tests/Core/Image/ImageTest.php Tests \Drupal\Core\Image\Image::parseFile().
ImageTestTestBase::$file property core/modules/ckeditor5/tests/src/FunctionalJavascript/ImageTestTestBase.php The sample image File entity to embed.
ImageToolkitInterface::parseFile function core/lib/Drupal/Core/ImageToolkit/ImageToolkitInterface.php Determines if a file contains a valid image.
ImageUploadTest::testFileUploadLargerFileSize function core/modules/ckeditor5/tests/src/Functional/ImageUploadTest.php Tests using the file upload route with a file size larger than allowed.
ImageUploadTest::testUploadFileExtension function core/modules/ckeditor5/tests/src/Functional/ImageUploadTest.php Tests using the file upload route with a disallowed extension.
Importer::copyFileAssociatedWithEntity function core/lib/Drupal/Core/DefaultContent/Importer.php Copies a file from default content directory to the site's file system.
ImportForm::$file property core/modules/locale/src/Form/ImportForm.php Uploaded file entity.
InfoParser::$fileCache property core/lib/Drupal/Core/Extension/InfoParser.php The file cache.
InfoParserUnitTest::testProfile function core/tests/Drupal/Tests/Core/Extension/InfoParserUnitTest.php Tests a profile info file.
InfoWriterTrait::writeInfoFile function core/tests/Drupal/TestTools/Extension/InfoWriterTrait.php Writes the info file and ensures the mtime changes.
InlineBlockPrivateFilesTest class core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockPrivateFilesTest.php Test access to private files in block fields on the Layout Builder.
InlineBlockPrivateFilesTest.php file core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockPrivateFilesTest.php
InlineBlockPrivateFilesTest::$defaultTheme property core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockPrivateFilesTest.php The theme to install as the default for testing.

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