Search for file

  1. Search 7.x for file
  2. Search 8.9.x for file
  3. Search 10.3.x for file
  4. Search 11.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
file_test_entity_type_alter function core/modules/file/tests/file_test/file_test.module Implements hook_entity_info_alter().
file_test_file_copy function core/modules/file/tests/file_test/file_test.module Implements hook_file_copy().
file_test_file_download function core/modules/file/tests/file_test/file_test.module Implements hook_file_download().
file_test_file_insert function core/modules/file/tests/file_test/file_test.module Implements hook_ENTITY_TYPE_insert() for file entities.
file_test_file_load function core/modules/file/tests/file_test/file_test.module Implements hook_ENTITY_TYPE_load() for file entities.
file_test_file_mimetype_mapping_alter function core/modules/file/tests/file_test/file_test.module Implements hook_file_mimetype_mapping_alter().
file_test_file_move function core/modules/file/tests/file_test/file_test.module Implements hook_file_move().
file_test_file_predelete function core/modules/file/tests/file_test/file_test.module Implements hook_ENTITY_TYPE_predelete() for file entities.
file_test_file_scan_callback function core/modules/file/tests/file_test/file_test.module Helper function for testing FileSystemInterface::scanDirectory().
file_test_file_scan_callback_reset function core/modules/file/tests/file_test/file_test.module Reset static variables used by file_test_file_scan_callback().
file_test_file_update function core/modules/file/tests/file_test/file_test.module Implements hook_ENTITY_TYPE_update() for file entities.
file_test_file_url_alter function core/modules/file/tests/file_test/file_test.module Implements hook_file_url_alter().
file_test_file_validate function core/modules/file/tests/file_test/file_test.module Implements hook_file_validate().
file_test_get_all_calls function core/modules/file/tests/file_test/file_test.module Get an array with the calls for all hooks.
file_test_get_calls function core/modules/file/tests/file_test/file_test.module Gets the arguments passed to a given hook invocation.
file_test_get_ids.info.yml file core/modules/file/tests/modules/file_test_get_ids/file_test_get_ids.info.yml core/modules/file/tests/modules/file_test_get_ids/file_test_get_ids.info.yml
file_test_reset function core/modules/file/tests/file_test/file_test.module Reset/initialize the history of calls to the file_* hooks.
file_test_set_return function core/modules/file/tests/file_test/file_test.module Assign a return value for a given operation.
file_test_validator function core/modules/file/tests/file_test/file_test.module Helper validator that returns the $errors parameter.
file_test_views.info.yml file core/modules/file/tests/modules/file_test_views/file_test_views.info.yml core/modules/file/tests/modules/file_test_views/file_test_views.info.yml
file_theme function core/modules/file/file.module Implements hook_theme().
file_tokens function core/modules/file/file.module Implements hook_tokens().
file_token_info function core/modules/file/file.module Implements hook_token_info().
file_unmunge_filename function core/includes/file.inc Undoes the effect of file_munge_filename().
file_update_last_removed function core/modules/file/file.install Implements hook_update_last_removed().
file_url_generator service core/core.services.yml Drupal\Core\File\FileUrlGenerator
FILE_URL_TEST_CDN_1 constant core/modules/file/tests/file_test/file_test.module
FILE_URL_TEST_CDN_2 constant core/modules/file/tests/file_test/file_test.module
file_url_transform_relative function core/includes/file.inc Transforms an absolute URL of a local file to a relative URL.
file_validate function core/modules/file/file.module Checks that a file meets the criteria specified by the validators.
file_validate_extensions function core/modules/file/file.module Checks that the filename ends with an allowed extension.
file_validate_image_resolution function core/modules/file/file.module Verifies that image dimensions are within the specified maximum and minimum.
file_validate_is_image function core/modules/file/file.module Checks that the file is recognized as a valid image.
file_validate_name_length function core/modules/file/file.module Checks for files with names longer than can be stored in the database.
file_validate_size function core/modules/file/file.module Checks that the file's size is below certain limits.
FILE_WRITABLE constant core/includes/install.inc File permission check -- File is writable.
FinalExceptionSubscriber::simplifyFileInError function core/lib/Drupal/Core/EventSubscriber/FinalExceptionSubscriber.php Attempts to reduce error verbosity in the error message's file path.
FollowUpMigrationsTest::getFileMigrationInfo function core/modules/migrate_drupal/tests/src/Kernel/d7/FollowUpMigrationsTest.php Returns information about the file to be migrated.
form--managed-file.css file core/themes/claro/css/components/form--managed-file.css Styles for the managed file widget.
form--managed-file.pcss.css file core/themes/claro/css/components/form--managed-file.pcss.css Styles for the managed file widget.
FormBuilder::getFileUploadMaxSize function core/lib/Drupal/Core/Form/FormBuilder.php Wraps file_upload_max_size().
FormBuilderTest::testExceededFileSize function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php @covers ::buildForm
FormCacheTest::testLoadCachedFormStateWithFiles function core/tests/Drupal/Tests/Core/Form/FormCacheTest.php @covers ::loadCachedFormState
FormErrorHandlerFileUploadTest class core/modules/inline_form_errors/tests/src/Functional/FormErrorHandlerFileUploadTest.php Tests file upload scenario's with Inline Form Errors.
FormErrorHandlerFileUploadTest.php file core/modules/inline_form_errors/tests/src/Functional/FormErrorHandlerFileUploadTest.php
FormErrorHandlerFileUploadTest::$defaultTheme property core/modules/inline_form_errors/tests/src/Functional/FormErrorHandlerFileUploadTest.php The theme to install as the default for testing.
FormErrorHandlerFileUploadTest::$modules property core/modules/inline_form_errors/tests/src/Functional/FormErrorHandlerFileUploadTest.php Modules to enable.
FormErrorHandlerFileUploadTest::setUp function core/modules/inline_form_errors/tests/src/Functional/FormErrorHandlerFileUploadTest.php
FormErrorHandlerFileUploadTest::testFileUploadErrors function core/modules/inline_form_errors/tests/src/Functional/FormErrorHandlerFileUploadTest.php Tests that the required field error is displayed as inline error message.
FormState::$has_file_element property core/lib/Drupal/Core/Form/FormState.php Indicates a file element is present.

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