Search for all
- Search 7.x for all
- Search 9.5.x for all
- Search 8.9.x for all
- Search 10.3.x for all
- Search main for all
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| 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 install. |
| 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/ |
Provides a base class for testing files with the file_test module. |
| FileManagedTestBase.php | file | core/ |
|
| FileManagedTestBase::$modules | property | core/ |
Modules to install. |
| 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::assertFileHooksCalled | function | core/ |
Asserts that the specified file hooks were called only once. |
| FileManagedTestBase::assertFileUnchanged | function | core/ |
Asserts that two files have the same values (except timestamp). |
| FileManagedTestBase::assertSameFile | function | core/ |
Asserts that two files are the same by comparing the fid and filepath. |
| FileManagedTestBase::createFile | function | core/ |
Creates and saves a file, asserting that it was saved. |
| FileManagedTestBase::createUri | function | core/ |
Creates a file and returns its URI. |
| FileManagedTestBase::setUp | function | core/ |
|
| FileManagedUnitTestBase | class | core/ |
Provides a base class for testing file uploads and hook invocations. |
| FileManagedUnitTestBase.php | file | core/ |
|
| FileManagedUnitTestBase::$modules | property | core/ |
Modules to install. |
| FileManagedUnitTestBase::assertDifferentFile | function | core/ |
Asserts that two files are not the same by comparing the fid and filepath. |
| FileManagedUnitTestBase::assertFileHookCalled | function | core/ |
Assert that a hook_file_* hook was called a certain number of times. |
| FileManagedUnitTestBase::assertFileHooksCalled | function | core/ |
Asserts that the specified file hooks were called only once. |
| FileManagedUnitTestBase::assertFileUnchanged | function | core/ |
Asserts that two files have the same values (except timestamp). |
| FileManagedUnitTestBase::assertSameFile | function | core/ |
Asserts that two files are the same by comparing the fid and filepath. |
| FileManagedUnitTestBase::createFile | function | core/ |
Creates and saves a file, asserting that it was saved. |
| FileManagedUnitTestBase::createUri | function | core/ |
Creates a file and returns its URI. |
| FileManagedUnitTestBase::setUp | function | core/ |
|
| FileMediaFormatterBase | class | core/ |
Base class for media file formatter. |
| FileMediaFormatterBase.php | file | core/ |
|
| FileMediaFormatterBase::defaultSettings | function | core/ |
Defines the default settings for this plugin. |
| FileMediaFormatterBase::getHtmlTag | function | core/ |
Gets the HTML tag for the formatter. |
| FileMediaFormatterBase::getSourceFiles | function | core/ |
Gets source files with attributes. |
| FileMediaFormatterBase::isApplicable | function | core/ |
Returns if the formatter can be used for the provided field. |
| FileMediaFormatterBase::mimeTypeApplies | function | core/ |
Check if given MIME type applies to the media type of the formatter. |
| FileMediaFormatterBase::prepareAttributes | function | core/ |
Prepare the attributes according to the settings. |
| FileMediaFormatterBase::settingsForm | function | core/ |
Returns a form to configure settings for the formatter. |
| FileMediaFormatterBase::settingsSummary | function | core/ |
Returns a short summary for the current formatter settings. |
| FileMediaFormatterBase::viewElements | function | core/ |
Builds a renderable array for a field value. |
| FileMediaFormatterInterface | interface | core/ |
Defines getter methods for FileMediaFormatterBase. |
| FileMediaFormatterInterface.php | file | core/ |
|
| FileMediaFormatterInterface::getMediaType | function | core/ |
Gets the applicable media type for a formatter. |
| FileMediaFormatterTestBase | class | core/ |
Provides methods specifically for testing File module's media formatter's. |
| FileMediaFormatterTestBase.php | file | core/ |
|
| FileMediaFormatterTestBase::$modules | property | core/ |
Modules to install. |
Pagination
- Previous page
- Page 695
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.