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 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
FileManagedFileElementTest class core/modules/file/tests/src/Functional/FileManagedFileElementTest.php Tests the 'managed_file' element type.
FileManagedFileElementTest.php file core/modules/file/tests/src/Functional/FileManagedFileElementTest.php
FileManagedFileElementTest.php file core/modules/file/tests/src/FunctionalJavascript/FileManagedFileElementTest.php
FileManagedFileElementTest::$adminUser property core/modules/file/tests/src/FunctionalJavascript/FileManagedFileElementTest.php A user with administration permissions.
FileManagedFileElementTest::$defaultTheme property core/modules/file/tests/src/FunctionalJavascript/FileManagedFileElementTest.php The theme to install as the default for testing.
FileManagedFileElementTest::$defaultTheme property core/modules/file/tests/src/Functional/FileManagedFileElementTest.php The theme to install as the default for testing.
FileManagedFileElementTest::$modules property core/modules/file/tests/src/FunctionalJavascript/FileManagedFileElementTest.php Modules to install.
FileManagedFileElementTest::getLastFileId function core/modules/file/tests/src/FunctionalJavascript/FileManagedFileElementTest.php Retrieves the fid of the last inserted file.
FileManagedFileElementTest::setUp function core/modules/file/tests/src/FunctionalJavascript/FileManagedFileElementTest.php
FileManagedFileElementTest::testFileNameTrim function core/modules/file/tests/src/Functional/FileManagedFileElementTest.php Tests file names have leading . removed.
FileManagedFileElementTest::testFileRemovedFromDisk function core/modules/file/tests/src/Functional/FileManagedFileElementTest.php Ensure a file entity can be saved when the file does not exist on disk.
FileManagedFileElementTest::testManagedFile function core/modules/file/tests/src/Functional/FileManagedFileElementTest.php Tests the managed_file element type.
FileManagedFileElementTest::testManagedFile function core/modules/file/tests/src/FunctionalJavascript/FileManagedFileElementTest.php Tests the managed_file element type.
FileManagedFileElementTest::testManagedFileRemoved function core/modules/file/tests/src/Functional/FileManagedFileElementTest.php Ensure that warning is shown if file on the field has been removed.
FileManagedFileElementTest::testUnusedPermanentFileValidation function core/modules/file/tests/src/Functional/FileManagedFileElementTest.php Verify that unused permanent files can be used.
FileManagedTestBase class core/modules/file/tests/src/Functional/FileManagedTestBase.php Provides a base class for testing files with the file_test module.
FileManagedTestBase.php file core/modules/file/tests/src/Functional/FileManagedTestBase.php
FileManagedTestBase::$modules property core/modules/file/tests/src/Functional/FileManagedTestBase.php Modules to install.
FileManagedTestBase::assertDifferentFile function core/modules/file/tests/src/Functional/FileManagedTestBase.php Asserts that two files are not the same by comparing the fid and filepath.
FileManagedTestBase::assertFileHookCalled function core/modules/file/tests/src/Functional/FileManagedTestBase.php Assert that a hook_file_* hook was called a certain number of times.
FileManagedTestBase::assertFileHooksCalled function core/modules/file/tests/src/Functional/FileManagedTestBase.php Asserts that the specified file hooks were called only once.
FileManagedTestBase::assertFileUnchanged function core/modules/file/tests/src/Functional/FileManagedTestBase.php Asserts that two files have the same values (except timestamp).
FileManagedTestBase::assertSameFile function core/modules/file/tests/src/Functional/FileManagedTestBase.php Asserts that two files are the same by comparing the fid and filepath.
FileManagedTestBase::createFile function core/modules/file/tests/src/Functional/FileManagedTestBase.php Creates and saves a file, asserting that it was saved.
FileManagedTestBase::createUri function core/modules/file/tests/src/Functional/FileManagedTestBase.php Creates a file and returns its URI.
FileManagedTestBase::setUp function core/modules/file/tests/src/Functional/FileManagedTestBase.php
FileManagedUnitTestBase class core/modules/file/tests/src/Kernel/FileManagedUnitTestBase.php Provides a base class for testing file uploads and hook invocations.
FileManagedUnitTestBase.php file core/modules/file/tests/src/Kernel/FileManagedUnitTestBase.php
FileManagedUnitTestBase::$modules property core/modules/file/tests/src/Kernel/FileManagedUnitTestBase.php Modules to install.
FileManagedUnitTestBase::assertDifferentFile function core/modules/file/tests/src/Kernel/FileManagedUnitTestBase.php Asserts that two files are not the same by comparing the fid and filepath.
FileManagedUnitTestBase::assertFileHookCalled function core/modules/file/tests/src/Kernel/FileManagedUnitTestBase.php Assert that a hook_file_* hook was called a certain number of times.
FileManagedUnitTestBase::assertFileHooksCalled function core/modules/file/tests/src/Kernel/FileManagedUnitTestBase.php Asserts that the specified file hooks were called only once.
FileManagedUnitTestBase::assertFileUnchanged function core/modules/file/tests/src/Kernel/FileManagedUnitTestBase.php Asserts that two files have the same values (except timestamp).
FileManagedUnitTestBase::assertSameFile function core/modules/file/tests/src/Kernel/FileManagedUnitTestBase.php Asserts that two files are the same by comparing the fid and filepath.
FileManagedUnitTestBase::createFile function core/modules/file/tests/src/Kernel/FileManagedUnitTestBase.php Creates and saves a file, asserting that it was saved.
FileManagedUnitTestBase::createUri function core/modules/file/tests/src/Kernel/FileManagedUnitTestBase.php Creates a file and returns its URI.
FileManagedUnitTestBase::setUp function core/modules/file/tests/src/Kernel/FileManagedUnitTestBase.php
FileMediaFormatterBase class core/modules/file/src/Plugin/Field/FieldFormatter/FileMediaFormatterBase.php Base class for media file formatter.
FileMediaFormatterBase.php file core/modules/file/src/Plugin/Field/FieldFormatter/FileMediaFormatterBase.php
FileMediaFormatterBase::defaultSettings function core/modules/file/src/Plugin/Field/FieldFormatter/FileMediaFormatterBase.php Defines the default settings for this plugin.
FileMediaFormatterBase::getHtmlTag function core/modules/file/src/Plugin/Field/FieldFormatter/FileMediaFormatterBase.php Gets the HTML tag for the formatter.
FileMediaFormatterBase::getSourceFiles function core/modules/file/src/Plugin/Field/FieldFormatter/FileMediaFormatterBase.php Gets source files with attributes.
FileMediaFormatterBase::isApplicable function core/modules/file/src/Plugin/Field/FieldFormatter/FileMediaFormatterBase.php Returns if the formatter can be used for the provided field.
FileMediaFormatterBase::mimeTypeApplies function core/modules/file/src/Plugin/Field/FieldFormatter/FileMediaFormatterBase.php Check if given MIME type applies to the media type of the formatter.
FileMediaFormatterBase::prepareAttributes function core/modules/file/src/Plugin/Field/FieldFormatter/FileMediaFormatterBase.php Prepare the attributes according to the settings.
FileMediaFormatterBase::settingsForm function core/modules/file/src/Plugin/Field/FieldFormatter/FileMediaFormatterBase.php Returns a form to configure settings for the formatter.
FileMediaFormatterBase::settingsSummary function core/modules/file/src/Plugin/Field/FieldFormatter/FileMediaFormatterBase.php Returns a short summary for the current formatter settings.
FileMediaFormatterBase::viewElements function core/modules/file/src/Plugin/Field/FieldFormatter/FileMediaFormatterBase.php Builds a renderable array for a field value.
FileMediaFormatterInterface interface core/modules/file/src/Plugin/Field/FieldFormatter/FileMediaFormatterInterface.php Defines getter methods for FileMediaFormatterBase.
FileMediaFormatterInterface.php file core/modules/file/src/Plugin/Field/FieldFormatter/FileMediaFormatterInterface.php

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