Search for file

  1. Search 7.x for file
  2. Search 9.5.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_STATUS_PERMANENT constant core/includes/file.inc Indicates that the file is permanent and should not be deleted.
file_stream_wrapper_uri_normalize function core/includes/file.inc Normalizes a URI by making it syntactically correct.
file_stream_wrapper_valid_scheme function core/includes/file.inc Checks that the scheme of a stream URI is valid.
file_system service core/core.services.yml Drupal\Core\File\FileSystem
file_test.info.yml file core/modules/file/tests/file_test/file_test.info.yml core/modules/file/tests/file_test/file_test.info.yml
file_test.module file core/modules/file/tests/file_test/file_test.module Helper module for the file tests.
file_test.routing.yml file core/modules/file/tests/file_test/file_test.routing.yml core/modules/file/tests/file_test/file_test.routing.yml
file_test.services.yml file core/modules/file/tests/file_test/file_test.services.yml core/modules/file/tests/file_test/file_test.services.yml
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 Get the arguments passed to invocation of a given hook since
file_test_reset() was last called.
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_unmanaged_copy function core/includes/file.inc Copies a file to a new location without database changes or hook invocation.
file_unmanaged_delete function core/includes/file.inc Deletes a file without database changes or hook invocations.
file_unmanaged_delete_recursive function core/includes/file.inc Deletes all files and directories in the specified filepath recursively.
file_unmanaged_move function core/includes/file.inc Moves a file to a new location without database changes or hook invocation.
file_unmanaged_prepare function core/includes/file.inc Internal function that prepares the destination for a file_unmanaged_copy or
file_unmanaged_move operation.
file_unmanaged_save_data function core/includes/file.inc Saves a file to the specified destination without invoking file API.
file_unmunge_filename function core/includes/file.inc Undoes the effect of file_munge_filename().
file_update_8001 function core/modules/file/file.install Add 'use_description_as_link_text' setting to file field formatters.
file_update_8300 function core/modules/file/file.install Prevent unused files from being deleted.
file_update_8700 function core/modules/file/file.install Set the 'owner' entity key and update the field.
file_upload_max_size function core/includes/file.inc Determines the maximum file upload size by querying the PHP settings.
file_uri_scheme function core/includes/file.inc Returns the scheme of a URI (e.g. a stream).
file_uri_target function core/includes/file.inc Returns the part of a URI after the schema.
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.

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