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 |
---|---|---|---|
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::assertSameFile | function | core/ |
Asserts that two files are the same by comparing the fid and filepath. |
FileManagedTestBase::createFile | function | core/ |
Create a file and save it to the files table and assert that it occurs correctly. |
FileManagedTestBase::createFile | function | core/ |
Create a file and save it to the files table and assert that it occurs correctly. |
FileManagedTestBase::createUri | function | core/ |
Creates a file and returns its URI. |
FileManagedTestBase::createUri | function | core/ |
Creates a file and returns its URI. |
FileManagedTestBase::setUp | function | core/ |
|
FileManagedTestBase::setUp | function | core/ |
Sets up a Drupal site for running functional and integration tests. |
FileManagedUnitTestBase | class | core/ |
Base class for file unit tests that use the file_test module to test uploads and hooks. |
FileManagedUnitTestBase.php | file | core/ |
|
FileManagedUnitTestBase::$modules | property | core/ |
Modules to enable. |
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/ |
Assert that all of the specified hook_file_* hooks were called once, other values result in failure. |
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/ |
Create a file and save it to the files table and assert that it occurs correctly. |
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 enable. |
FileMediaFormatterTestBase::createMediaField | function | core/ |
Creates a file field and set's the correct formatter. |
FileMediaFormatterTestBase::dataProvider | function | core/ |
Data provider for testRender. |
FileMediaFormatterTestBase::setUp | function | core/ |
|
FileMigrationSetupTrait | trait | core/ |
A trait to setup the file migration. |
FileMigrationSetupTrait.php | file | core/ |
|
FileMigrationSetupTrait::assertEntity | function | core/ |
Tests a single file entity. |
FileMigrationSetupTrait::fileMigrationSetup | function | core/ |
Prepare the file migration for running. |
FileMigrationSetupTrait::getFileMigrationInfo | function | core/ |
Returns information about the file to be migrated. |
FileMigrationTestTrait | trait | core/ |
Helper for setting up a file migration test. |
FileMigrationTestTrait.php | file | core/ |
|
FileMigrationTestTrait::prepareMigration | function | core/ |
|
FileMigrationTestTrait::setUpMigratedFiles | function | core/ |
Setup and execute d6_file migration. |
FilemimeFormatter | class | core/ |
Formatter to render the file MIME type, with an optional icon. |
Pagination
- Previous page
- Page 22
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.