Search for createFile

  1. Search 7.x for createFile
  2. Search 9.5.x for createFile
  3. Search 8.9.x for createFile
  4. Search 10.3.x for createFile
  5. Other projects
Title Object type File name Summary
DuplicateInfoFileValidatorTest::createFileAtPath function core/modules/package_manager/tests/src/Kernel/DuplicateInfoFileValidatorTest.php Creates the file at the root directory.
File::createFileUrl function core/modules/file/src/Entity/File.php Creates a file URL for the URI of this file.
FileFieldCreationTrait::createFileField function core/modules/file/tests/src/Functional/FileFieldCreationTrait.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/tests/src/Functional/FileManagedTestBase.php Creates and saves a file, asserting that it was saved.
FileManagedUnitTestBase::createFile function core/modules/file/tests/src/Kernel/FileManagedUnitTestBase.php Creates and saves a file, asserting that it was saved.
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.
GenerateTheme::createFilesFinder function core/lib/Drupal/Core/Command/GenerateTheme.php
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.