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
FileViewsFieldAccessTest::$modules property core/modules/file/tests/src/Kernel/Views/FileViewsFieldAccessTest.php Modules to enable.
FileViewsFieldAccessTest::setUp function core/modules/file/tests/src/Kernel/Views/FileViewsFieldAccessTest.php
FileViewsFieldAccessTest::testFileFields function core/modules/file/tests/src/Kernel/Views/FileViewsFieldAccessTest.php Check access for file fields.
FileWidget class core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Plugin implementation of the 'file_generic' widget.
FileWidget.php file core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php
FileWidget::create function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Creates an instance of the plugin.
FileWidget::defaultSettings function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Defines the default settings for this plugin.
FileWidget::extractFormValues function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Extracts field values from submitted form values.
FileWidget::flagErrors function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Reports field-level validation errors against actual form elements.
FileWidget::formElement function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Returns the form for a single field widget.
FileWidget::formMultipleElements function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Overrides \Drupal\Core\Field\WidgetBase::formMultipleElements().
FileWidget::getDescriptionFromElement function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Retrieves the file description from a field field element.
FileWidget::massageFormValues function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Massages the form values into the format expected for field values.
FileWidget::process function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Form API callback: Processes a file_generic field element.
FileWidget::processMultiple function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Form API callback: Processes a group of file_generic field elements.
FileWidget::settingsForm function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Returns a form to configure settings for the widget.
FileWidget::settingsSummary function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Returns a short summary for the current widget settings.
FileWidget::submit function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Form submission handler for upload/remove button of formElement().
FileWidget::validateMultipleCount function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Form element validation callback for upload element on file widget. Checks
if user has uploaded more files than allowed.
FileWidget::value function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Form API callback. Retrieves the value for the file_generic field element.
FileWidget::__construct function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Constructs a WidgetBase object.
FileWidgetAjaxController class core/modules/file/src/Controller/FileWidgetAjaxController.php Defines a controller to respond to file widget AJAX requests.
FileWidgetAjaxController.php file core/modules/file/src/Controller/FileWidgetAjaxController.php
FileWidgetAjaxController::progress function core/modules/file/src/Controller/FileWidgetAjaxController.php Returns the progress status for a file upload process.
FileWriteException class core/lib/Drupal/Core/File/Exception/FileWriteException.php Exception thrown when file cannot be written to disk.
FileWriteException.php file core/lib/Drupal/Core/File/Exception/FileWriteException.php
FileXmlAnonTest class core/modules/file/tests/src/Functional/Rest/FileXmlAnonTest.php @group rest
FileXmlAnonTest.php file core/modules/file/tests/src/Functional/Rest/FileXmlAnonTest.php
FileXmlAnonTest::$defaultTheme property core/modules/file/tests/src/Functional/Rest/FileXmlAnonTest.php The theme to install as the default for testing.
FileXmlAnonTest::$format property core/modules/file/tests/src/Functional/Rest/FileXmlAnonTest.php The format to use in this test.
FileXmlAnonTest::$mimeType property core/modules/file/tests/src/Functional/Rest/FileXmlAnonTest.php The MIME type that corresponds to $format.
FileXmlBasicAuthTest class core/modules/file/tests/src/Functional/Rest/FileXmlBasicAuthTest.php @group rest
FileXmlBasicAuthTest.php file core/modules/file/tests/src/Functional/Rest/FileXmlBasicAuthTest.php
FileXmlBasicAuthTest::$auth property core/modules/file/tests/src/Functional/Rest/FileXmlBasicAuthTest.php The authentication mechanism to use in this test.
FileXmlBasicAuthTest::$defaultTheme property core/modules/file/tests/src/Functional/Rest/FileXmlBasicAuthTest.php The theme to install as the default for testing.
FileXmlBasicAuthTest::$format property core/modules/file/tests/src/Functional/Rest/FileXmlBasicAuthTest.php The format to use in this test.
FileXmlBasicAuthTest::$mimeType property core/modules/file/tests/src/Functional/Rest/FileXmlBasicAuthTest.php The MIME type that corresponds to $format.
FileXmlBasicAuthTest::$modules property core/modules/file/tests/src/Functional/Rest/FileXmlBasicAuthTest.php Modules to install.
FileXmlCookieTest class core/modules/file/tests/src/Functional/Rest/FileXmlCookieTest.php @group rest
FileXmlCookieTest.php file core/modules/file/tests/src/Functional/Rest/FileXmlCookieTest.php
FileXmlCookieTest::$auth property core/modules/file/tests/src/Functional/Rest/FileXmlCookieTest.php The authentication mechanism to use in this test.
FileXmlCookieTest::$defaultTheme property core/modules/file/tests/src/Functional/Rest/FileXmlCookieTest.php The theme to install as the default for testing.
FileXmlCookieTest::$format property core/modules/file/tests/src/Functional/Rest/FileXmlCookieTest.php The format to use in this test.
FileXmlCookieTest::$mimeType property core/modules/file/tests/src/Functional/Rest/FileXmlCookieTest.php The MIME type that corresponds to $format.
file_build_uri function core/includes/file.inc Constructs a URI to Drupal's default files location given a relative path.
FILE_CHMOD_DIRECTORY constant core/includes/file.inc Default mode for new directories.
FILE_CHMOD_FILE constant core/includes/file.inc Default mode for new files.
file_copy function core/modules/file/file.module Copies a file to a new location and adds a file record to the database.
FILE_CREATE_DIRECTORY constant core/includes/file.inc Flag used to create a directory if not present.
file_create_filename function core/includes/file.inc Creates a full file path from a directory and filename.

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