56 string references to 'File'
- AnnotatedClassDiscoveryTest::provideBadAnnotations in core/
tests/ Drupal/ Tests/ Component/ Plugin/ Discovery/ AnnotatedClassDiscoveryTest.php - All the Drupal documentation standards tags.
- AssetResolver::getCssAssets in core/
lib/ Drupal/ Core/ Asset/ AssetResolver.php - Returns the CSS assets for the current response's libraries.
- AssetResolver::getJsAssets in core/
lib/ Drupal/ Core/ Asset/ AssetResolver.php - Returns the JavaScript assets for the current response's libraries.
- ConfigTest::provideGetMessageText in core/
tests/ Drupal/ Tests/ Composer/ Plugin/ ProjectMessage/ ConfigTest.php - core.services.yml in core/
core.services.yml - core/core.services.yml
- CreateSampleEntityTest::setUp in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ CreateSampleEntityTest.php - CssCollectionGrouper::group in core/
lib/ Drupal/ Core/ Asset/ CssCollectionGrouper.php - Puts multiple items into the same group if they are groupable and if they are for the same 'media' and 'browsers'. Items of the 'file' type are groupable if their 'preprocess' flag is TRUE, and items of the…
- CssCollectionGrouperUnitTest::testGrouper in core/
tests/ Drupal/ Tests/ Core/ Asset/ CssCollectionGrouperUnitTest.php - Tests \Drupal\Core\Asset\CssCollectionGrouper.
- CssCollectionOptimizer::optimize in core/
lib/ Drupal/ Core/ Asset/ CssCollectionOptimizer.php - The cache file name is retrieved on a page load via a lookup variable that contains an associative array. The array key is the hash of the file names in $css while the value is the cache file name. The cache file is generated in two cases. First, if…
- CssCollectionOptimizerUnitTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Asset/ CssCollectionOptimizerUnitTest.php - CssCollectionOptimizerUnitTest::testCssImport in core/
tests/ Drupal/ Tests/ Core/ Asset/ CssCollectionOptimizerUnitTest.php - Test that css imports with strange letters do not destroy the css output.
- CssCollectionRenderer::render in core/
lib/ Drupal/ Core/ Asset/ CssCollectionRenderer.php - Renders an asset collection.
- CssCollectionRendererUnitTest::providerTestRender in core/
tests/ Drupal/ Tests/ Core/ Asset/ CssCollectionRendererUnitTest.php - Provides data for the CSS asset rendering test.
- CssCollectionRendererUnitTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Asset/ CssCollectionRendererUnitTest.php - CssOptimizer::optimize in core/
lib/ Drupal/ Core/ Asset/ CssOptimizer.php - Optimizes an asset.
- CssOptimizerUnitTest::providerTestOptimize in core/
tests/ Drupal/ Tests/ Core/ Asset/ CssOptimizerUnitTest.php - Provides data for the CSS asset optimizing test.
- CssOptimizerUnitTest::testTypeFilePreprocessingDisabled in core/
tests/ Drupal/ Tests/ Core/ Asset/ CssOptimizerUnitTest.php - Tests a file CSS asset with preprocessing disabled.
- DbDumpTest::setUp in core/
tests/ Drupal/ KernelTests/ Core/ Command/ DbDumpTest.php - DirectoryTest::testFileCheckDirectoryHandling in core/
tests/ Drupal/ KernelTests/ Core/ File/ DirectoryTest.php - Tests directory handling functions.
- DirectoryTest::testFileCheckLocalDirectoryHandling in core/
tests/ Drupal/ KernelTests/ Core/ File/ DirectoryTest.php - Tests local directory handling functions.
- drupal_js_defaults in core/
includes/ common.inc - Constructs an array of the defaults that are used for JavaScript assets.
- EditorFileReference::process in core/
modules/ editor/ src/ Plugin/ Filter/ EditorFileReference.php - Performs the filter processing.
- EditorFileReferenceFilterTest::setUp in core/
modules/ editor/ tests/ src/ Kernel/ EditorFileReferenceFilterTest.php - EditorFileUsageTest::setUp in core/
modules/ editor/ tests/ src/ Kernel/ EditorFileUsageTest.php - EditorImageDialog::buildForm in core/
modules/ editor/ src/ Form/ EditorImageDialog.php - EditorImageDialog::create in core/
modules/ editor/ src/ Form/ EditorImageDialog.php - Instantiates a new instance of this class.
- EditorImageDialog::submitForm in core/
modules/ editor/ src/ Form/ EditorImageDialog.php - Form submission handler.
- EditorImageDialogTest::setUp in core/
modules/ editor/ tests/ src/ Kernel/ EditorImageDialogTest.php - Sets up the test.
- EditorImageDialogTest::testEditorImageDialog in core/
modules/ editor/ tests/ src/ Kernel/ EditorImageDialogTest.php - Tests that editor image dialog works as expected.
- EntityCrudHookTest::setUp in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityCrudHookTest.php - EntityCrudHookTest::testFileHooks in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityCrudHookTest.php - Tests hook invocations for CRUD operations on files.
- File::preRenderFile in core/
lib/ Drupal/ Core/ Render/ Element/ File.php - Prepares a #type 'file' render element for input.html.twig.
- FileSystem::saveData in core/
lib/ Drupal/ Core/ File/ FileSystem.php - Saves a file to the specified destination without invoking file API.
- FormBuilder::doBuildForm in core/
lib/ Drupal/ Core/ Form/ FormBuilder.php - Builds and processes all elements in the structured form array.
- FormBuilder::handleInputElement in core/
lib/ Drupal/ Core/ Form/ FormBuilder.php - Adds the #name and #value properties of an input element before rendering.
- install_begin_request in core/
includes/ install.core.inc - Begins an installation request, modifying the installation state as needed.
- JsCollectionGrouper::group in core/
lib/ Drupal/ Core/ Asset/ JsCollectionGrouper.php - Puts multiple items into the same group if they are groupable and if they are for the same browsers. Items of the 'file' type are groupable if their 'preprocess' flag is TRUE. Items of the 'external' type are not groupable.
- JsCollectionOptimizer::optimize in core/
lib/ Drupal/ Core/ Asset/ JsCollectionOptimizer.php - The cache file name is retrieved on a page load via a lookup variable that contains an associative array. The array key is the hash of the names in $files while the value is the cache file name. The cache file is generated in two cases. First, if…
- JsCollectionRenderer::render in core/
lib/ Drupal/ Core/ Asset/ JsCollectionRenderer.php - This class evaluates the aggregation enabled/disabled condition on a group by group basis by testing whether an aggregate file has been made for the group rather than by testing the site-wide aggregation setting. This allows this class to work…
- JsOptimizer::optimize in core/
lib/ Drupal/ Core/ Asset/ JsOptimizer.php - Optimizes an asset.
- JsOptimizerUnitTest::providerTestOptimize in core/
tests/ Drupal/ Tests/ Core/ Asset/ JsOptimizerUnitTest.php - Provides data for the JS asset optimize test.
- JUnitConverter::findTestCases in core/
lib/ Drupal/ Core/ Test/ JUnitConverter.php - Finds all test cases recursively from a test suite list.
- LibraryDiscoveryParser::buildByExtension in core/
lib/ Drupal/ Core/ Asset/ LibraryDiscoveryParser.php - Parses and builds up all the libraries information of an extension.
- LibraryDiscoveryParserTest::testLibraryWithCssJsSetting in core/
tests/ Drupal/ Tests/ Core/ Asset/ LibraryDiscoveryParserTest.php - Tests a library with CSS/JavaScript and a setting.
- LibraryDiscoveryParserTest::testLibraryWithDataTypes in core/
tests/ Drupal/ Tests/ Core/ Asset/ LibraryDiscoveryParserTest.php - Tests a library with a couple of data formats like full URL.
- MigrateNodeTaxonomyTest::setUp in core/
modules/ taxonomy/ tests/ src/ Kernel/ Migrate/ d7/ MigrateNodeTaxonomyTest.php - MigrateTaxonomyTermTest::setUp in core/
modules/ taxonomy/ tests/ src/ Kernel/ Migrate/ d7/ MigrateTaxonomyTermTest.php - MigrateTaxonomyTermTranslationTest::setUp in core/
modules/ taxonomy/ tests/ src/ Kernel/ Migrate/ d7/ MigrateTaxonomyTermTranslationTest.php - MigrateUserPictureD6FileTest::setUp in core/
modules/ user/ tests/ src/ Kernel/ Migrate/ d6/ MigrateUserPictureD6FileTest.php - MigrateUserPictureEntityDisplayTest::setUp in core/
modules/ user/ tests/ src/ Kernel/ Migrate/ d7/ MigrateUserPictureEntityDisplayTest.php - MigrateUserTest::setUp in core/
modules/ user/ tests/ src/ Kernel/ Migrate/ d6/ MigrateUserTest.php - SortTest::testSorted in core/
tests/ Drupal/ Tests/ PhpCs/ SortTest.php - Tests that the phpcs.xml.dist file is properly sorted.
- TestDiscoveryTest::infoParserProvider in core/
tests/ Drupal/ Tests/ Core/ Test/ TestDiscoveryTest.php - TypedDataTest::setUp in core/
tests/ Drupal/ KernelTests/ Core/ TypedData/ TypedDataTest.php - _editor_delete_file_usage in core/
modules/ editor/ editor.module - Deletes file usage of files referenced by formatted text fields.
- _editor_record_file_usage in core/
modules/ editor/ editor.module - Records file usage of files referenced by formatted text fields.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.