Search for files
- Search 7.x for files
- Search 9.5.x for files
- Search 10.3.x for files
- Search 11.x for files
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
FileSystem::$streamWrapperManager | property | core/ |
The stream wrapper manager. |
FileSystem::basename | function | core/ |
Gets the filename from a given path. |
FileSystem::chmod | function | core/ |
Sets the permissions on a file or directory. |
FileSystem::CHMOD_DIRECTORY | constant | core/ |
Default mode for new directories. See self::chmod(). |
FileSystem::CHMOD_FILE | constant | core/ |
Default mode for new files. See self::chmod(). |
FileSystem::copy | function | core/ |
Copies a file to a new location without invoking the file API. |
FileSystem::createFilename | function | core/ |
Creates a full file path from a directory and filename. |
FileSystem::delete | function | core/ |
Deletes a file without database changes or hook invocations. |
FileSystem::deleteRecursive | function | core/ |
Deletes all files and directories in the specified filepath recursively. |
FileSystem::dirname | function | core/ |
Gets the name of the directory from a given path. |
FileSystem::doScanDirectory | function | core/ |
Internal function to handle directory scanning with recursion. |
FileSystem::getDestinationFilename | function | core/ |
Determines the destination path for a file. |
FileSystem::getOsTemporaryDirectory | function | core/ |
Discovers a writable system-appropriate temporary directory. |
FileSystem::getTempDirectory | function | core/ |
Gets the path of the configured temporary directory. |
FileSystem::mkdir | function | core/ |
Creates a directory, optionally creating missing components in the path to the directory. |
FileSystem::mkdirCall | function | core/ |
Helper function. Ensures we don't pass a NULL as a context resource to mkdir(). |
FileSystem::move | function | core/ |
Moves a file to a new location without database changes or hook invocation. |
FileSystem::moveUploadedFile | function | core/ |
Moves an uploaded file to a new location. |
FileSystem::prepareDestination | function | core/ |
Prepares the destination for a file copy or move operation. |
FileSystem::prepareDirectory | function | core/ |
Checks that the directory exists and is writable. |
FileSystem::realpath | function | core/ |
Resolves the absolute filepath of a local URI or filepath. |
FileSystem::rmdir | function | core/ |
Removes a directory. |
FileSystem::saveData | function | core/ |
Saves a file to the specified destination without invoking file API. |
FileSystem::scanDirectory | function | core/ |
Finds all files that match a given mask in a given directory. |
FileSystem::tempnam | function | core/ |
Creates a file with a unique filename in the specified directory. |
FileSystem::unlink | function | core/ |
Deletes a file. |
FileSystem::uriScheme | function | core/ |
Returns the scheme of a URI (e.g. a stream). |
FileSystem::validScheme | function | core/ |
Checks that the scheme of a stream URI is valid. |
FileSystem::__construct | function | core/ |
Constructs a new FileSystem. |
FileSystemDeprecationTest | class | core/ |
Tests deprecations in file.inc. |
FileSystemDeprecationTest.php | file | core/ |
|
FileSystemDeprecationTest::$fileSystem | property | core/ |
The file system service. |
FileSystemDeprecationTest::$modules | property | core/ |
Modules to enable. |
FileSystemDeprecationTest::providerTestUriScheme | function | core/ |
|
FileSystemDeprecationTest::setUp | function | core/ |
|
FileSystemDeprecationTest::testDeprecatedDefaultScheme | function | core/ |
@expectedDeprecation file_default_scheme() is deprecated in drupal:8.8.0. It will be removed from drupal:9.0.0. Use \Drupal::config('system.file')->get('default_scheme') instead. See https://www.drupal.org/node/3049030 |
FileSystemDeprecationTest::testDeprecatedDirectoryOsTemp | function | core/ |
@expectedDeprecation file_directory_os_temp() is deprecated in drupal:8.3.0 and is removed from drupal:9.0.0. Use \Drupal\Component\FileSystem\FileSystem::getOsTemporaryDirectory() instead. See https://www.drupal.org/node/2418133 |
FileSystemDeprecationTest::testDeprecatedDrupalBasename | function | core/ |
@expectedDeprecation drupal_basename() is deprecated in Drupal 8.0.0 and will be removed before Drupal 9.0.0. Use \Drupal\Core\File\FileSystemInterface::basename(). See https://www.drupal.org/node/2418133. |
FileSystemDeprecationTest::testDeprecatedDrupalChmod | function | core/ |
@expectedDeprecation drupal_chmod() is deprecated in Drupal 8.0.0 and will be removed before Drupal 9.0.0. Use \Drupal\Core\File\FileSystemInterface::chmod(). See https://www.drupal.org/node/2418133. |
FileSystemDeprecationTest::testDeprecatedDrupalDirname | function | core/ |
@expectedDeprecation drupal_dirname() is deprecated in Drupal 8.0.0 and will be removed before Drupal 9.0.0. Use \Drupal\Core\File\FileSystemInterface::dirname(). See https://www.drupal.org/node/2418133. |
FileSystemDeprecationTest::testDeprecatedDrupalMkdir | function | core/ |
@expectedDeprecation drupal_mkdir() is deprecated in Drupal 8.0.0 and will be removed before Drupal 9.0.0. Use \Drupal\Core\File\FileSystemInterface::mkdir(). See https://www.drupal.org/node/2418133. |
FileSystemDeprecationTest::testDeprecatedDrupalRmdir | function | core/ |
@expectedDeprecation drupal_rmdir() is deprecated in Drupal 8.0.0 and will be removed before Drupal 9.0.0. Use \Drupal\Core\File\FileSystemInterface::rmdir(). See https://www.drupal.org/node/2418133. |
FileSystemDeprecationTest::testDeprecatedDrupalTempnam | function | core/ |
@expectedDeprecation tempnam() is deprecated in Drupal 8.0.0 and will be removed before Drupal 9.0.0. Use \Drupal\Core\File\FileSystemInterface::tempnam(). See https://www.drupal.org/node/2418133. |
FileSystemDeprecationTest::testDeprecatedFileCreate | function | core/ |
@expectedDeprecation file_create_filename() is deprecated in Drupal 8.7.0 and will be removed before Drupal 9.0.0. Use \Drupal\Core\File\FileSystemInterface::createFilename(). See https://www.drupal.org/node/3006851. |
FileSystemDeprecationTest::testDeprecatedFileDestination | function | core/ |
@expectedDeprecation file_destination() is deprecated in Drupal 8.7.0 and will be removed before Drupal 9.0.0. Use \Drupal\Core\File\FileSystemInterface::getDestinationFilename(). See https://www.drupal.org/node/3006851. |
FileSystemDeprecationTest::testDeprecatedFileMoveUploadedFile | function | core/ |
@expectedDeprecation drupal_move_uploaded_file() is deprecated in Drupal 8.0.x-dev and will be removed before Drupal 9.0.0. Use \Drupal\Core\File\FileSystemInterface::moveUploadedFile(). See https://www.drupal.org/node/2418133. |
FileSystemDeprecationTest::testDeprecatedFilePrepareDirectory | function | core/ |
@expectedDeprecation file_prepare_directory() is deprecated in Drupal 8.7.0 and will be removed before Drupal 9.0.0. Use \Drupal\Core\File\FileSystemInterface::prepareDirectory(). See https://www.drupal.org/node/3006851. |
FileSystemDeprecationTest::testDeprecatedFileStreamWrapperUriNormalize | function | core/ |
@expectedDeprecation file_stream_wrapper_uri_normalize() is deprecated in drupal:8.8.0 and will be removed before drupal:9.0.0. Use \Drupal\Core\StreamWrapper\StreamWrapperManagerInterface::normalizeUri() instead. See https://www.drupal.org/node/3035273 |
FileSystemDeprecationTest::testDeprecatedFileUploadMaxSize | function | core/ |
@expectedDeprecation file_upload_max_size() is deprecated in Drupal 8.7.0 and will be removed before Drupal 9.0.0. Use \Drupal\Component\Utility\Environment::getUploadMaxSize() instead. See https://www.drupal.org/node/3000058. |
FileSystemDeprecationTest::testDeprecatedFileUriScheme | function | core/ |
@expectedDeprecation file_uri_scheme() is deprecated in drupal:8.0.0 and will be removed before drupal:9.0.0. Use \Drupal\Core\StreamWrapper\StreamWrapperManagerInterface::getScheme() instead. See https://www.drupal.org/node/3035273 |
Pagination
- Previous page
- Page 6
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.