Search for createFile

  1. Search 7.x for createFile
  2. Search 9.5.x for createFile
  3. Search 10.3.x for createFile
  4. Search 11.x for createFile
  5. Other projects
Title Object type File name Summary
File::createFileUrl function core/modules/file/src/Entity/File.php
FileFieldCreationTrait::createFileField function core/modules/file/tests/src/Functional/FileFieldCreationTrait.php Creates a new file field.
FileFieldTestBase::createFileField function core/modules/file/src/Tests/FileFieldTestBase.php Creates a new file field.
FileInterface::createFileUrl function core/modules/file/src/FileInterface.php Creates a file URL for the URI of this file.
FileListingTest::createFile function core/modules/file/tests/src/Functional/FileListingTest.php Creates and saves a test file.
FileManagedTestBase::createFile function core/modules/file/src/Tests/FileManagedTestBase.php Create a file and save it to the files table and assert that it occurs
correctly.
FileManagedTestBase::createFile function core/modules/file/tests/src/Functional/FileManagedTestBase.php Create a file and save it to the files table and assert that it occurs
correctly.
FileManagedUnitTestBase::createFile function core/modules/file/tests/src/Kernel/FileManagedUnitTestBase.php Create a file and save it to the files table and assert that it occurs
correctly.
FileSystem::createFilename function core/lib/Drupal/Core/File/FileSystem.php
FileSystemInterface::createFilename function core/lib/Drupal/Core/File/FileSystemInterface.php Creates a full file path from a directory and filename.
FileUploadForm::createFileItem function core/modules/media_library/src/Form/FileUploadForm.php Create a file field item.
InstallHelper::createFileEntity function core/profiles/demo_umami/modules/demo_umami_content/src/InstallHelper.php Creates a file entity based on an image path.
NumericFormatPluralTest::createFile function core/modules/views/tests/src/Functional/Plugin/NumericFormatPluralTest.php Creates and saves a test file.
SpaceUsedTest::createFileWithSize function core/modules/file/tests/src/Kernel/SpaceUsedTest.php Creates a file with a given size.

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