Search for file
Exact matches
| Title | Object type | File name | Summary |
|---|---|---|---|
| File | class | core/ |
File entity media source. |
| File | class | core/ |
Defines the file entity class. |
| File | class | core/ |
Field handler to provide simple renderer that allows linking to a file. |
| File | class | core/ |
Tests creating managed files views with the wizard. |
| File | class | core/ |
Drupal 6 file source from database. |
| File | class | core/ |
Drupal 7 file source from database. |
| File | class | core/ |
Provides a form element for uploading a file. |
All search results
| Title | Object type | File name | Summary |
|---|---|---|---|
| FileJsonCookieTest::$mimeType | property | core/ |
The MIME type that corresponds to $format. |
| FileLegacyTest | class | core/ |
Tests file deprecations. |
| FileLegacyTest.php | file | core/ |
|
| FileLegacyTest::$modules | property | core/ |
Modules to enable. |
| FileLegacyTest::setUp | function | core/ |
Set the default field storage backend for fields created during tests. |
| FileLegacyTest::testEntityLegacyCode | function | core/ |
@expectedDeprecation file_load_multiple() is deprecated in Drupal 8.0.0 and will be removed before Drupal 9.0.0. Use \Drupal\file\Entity\File::loadMultiple(). See https://www.drupal.org/node/2266845 @expectedDeprecation file_load() is deprecated in… |
| FileLegacyTest::testFileUrlDeprecation | function | core/ |
Tests that File::url() is deprecated. |
| FileListingTest | class | core/ |
Tests file listing page functionality. |
| FileListingTest.php | file | core/ |
|
| FileListingTest::$baseUser | property | core/ |
An authenticated user. |
| FileListingTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| FileListingTest::$modules | property | core/ |
Modules to enable. |
| FileListingTest::createFile | function | core/ |
Creates and saves a test file. |
| FileListingTest::setUp | function | core/ |
|
| FileListingTest::sumUsages | function | core/ |
Calculates total count of usages for a file. |
| FileListingTest::testFileListingPages | function | core/ |
Tests file overview with different user permissions. |
| FileListingTest::testFileListingUsageNoLink | function | core/ |
Tests file listing usage page for entities with no canonical link template. |
| FileManagedAccessTest | class | core/ |
Tests access to managed files. |
| FileManagedAccessTest.php | file | core/ |
|
| FileManagedAccessTest::$modules | property | core/ |
Modules to enable. |
| FileManagedAccessTest::testFileAccess | function | core/ |
Tests if public file is always accessible. |
| FileManagedFileElementTest | class | core/ |
Tests the 'managed_file' element type. |
| FileManagedFileElementTest | class | core/ |
Tests the 'managed_file' element type. |
| FileManagedFileElementTest.php | file | core/ |
|
| FileManagedFileElementTest.php | file | core/ |
|
| FileManagedFileElementTest::$adminUser | property | core/ |
A user with administration permissions. |
| FileManagedFileElementTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| FileManagedFileElementTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| FileManagedFileElementTest::$modules | property | core/ |
Modules to enable. |
| FileManagedFileElementTest::getLastFileId | function | core/ |
Retrieves the fid of the last inserted file. |
| FileManagedFileElementTest::setUp | function | core/ |
|
| FileManagedFileElementTest::testFileNameTrim | function | core/ |
Tests file names have leading . removed. |
| FileManagedFileElementTest::testFileRemovedFromDisk | function | core/ |
Ensure a file entity can be saved when the file does not exist on disk. |
| FileManagedFileElementTest::testManagedFile | function | core/ |
Tests the managed_file element type. |
| FileManagedFileElementTest::testManagedFile | function | core/ |
Tests the managed_file element type. |
| FileManagedFileElementTest::testManagedFileRemoved | function | core/ |
Ensure that warning is shown if file on the field has been removed. |
| FileManagedFileElementTest::testUnusedPermanentFileValidation | function | core/ |
Verify that unused permanent files can be used. |
| FileManagedTestBase | class | core/ |
Base class for file tests that use the file_test module to test uploads and hooks. |
| FileManagedTestBase | class | core/ |
Base class for file tests that use the file_test module to test uploads and hooks. |
| FileManagedTestBase.php | file | core/ |
|
| FileManagedTestBase.php | file | core/ |
|
| FileManagedTestBase::$modules | property | core/ |
Modules to enable. |
| FileManagedTestBase::$modules | property | core/ |
Modules to enable. |
| FileManagedTestBase::assertDifferentFile | function | core/ |
Asserts that two files are not the same by comparing the fid and filepath. |
| FileManagedTestBase::assertDifferentFile | function | core/ |
Asserts that two files are not the same by comparing the fid and filepath. |
| FileManagedTestBase::assertFileHookCalled | function | core/ |
Assert that a hook_file_* hook was called a certain number of times. |
| FileManagedTestBase::assertFileHookCalled | function | core/ |
Assert that a hook_file_* hook was called a certain number of times. |
| FileManagedTestBase::assertFileHooksCalled | function | core/ |
Assert that all of the specified hook_file_* hooks were called once, other values result in failure. |
| FileManagedTestBase::assertFileHooksCalled | function | core/ |
Assert that all of the specified hook_file_* hooks were called once, other values result in failure. |
| FileManagedTestBase::assertFileUnchanged | function | core/ |
Asserts that two files have the same values (except timestamp). |
Pagination
- Previous page
- Page 21
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.