Search for files

  1. Search 7.x for files
  2. Search 9.5.x for files
  3. Search 8.9.x for files
  4. Search 10.3.x for files
  5. Other projects
Title Object type File name Summary
FileSecurity::htaccessLines function composer/Plugin/VendorHardening/FileSecurity.php Returns the standard .htaccess lines that Drupal writes.
FileSecurity::htaccessPreventExecution function composer/Plugin/VendorHardening/FileSecurity.php Returns htaccess directives to deny execution in a given directory.
FileSecurity::htaccessPreventExecution function core/lib/Drupal/Component/FileSecurity/FileSecurity.php Returns htaccess directives to deny execution in a given directory.
FileSecurity::writeFile function core/lib/Drupal/Component/FileSecurity/FileSecurity.php Writes the contents to the file in the given directory.
FileSecurity::writeFile function composer/Plugin/VendorHardening/FileSecurity.php Writes the contents to the file in the given directory.
FileSecurity::writeHtaccess function composer/Plugin/VendorHardening/FileSecurity.php Writes an .htaccess file in the given directory, if it doesn't exist.
FileSecurity::writeHtaccess function core/lib/Drupal/Component/FileSecurity/FileSecurity.php Writes an .htaccess file in the given directory, if it doesn't exist.
FileSecurityTest class core/tests/Drupal/Tests/Component/FileSecurity/FileSecurityTest.php Tests the file security component.
FileSecurityTest.php file core/tests/Drupal/Tests/Component/FileSecurity/FileSecurityTest.php
FileSecurityTest::testWriteHtaccessFailure function core/tests/Drupal/Tests/Component/FileSecurity/FileSecurityTest.php @covers ::writeHtaccess
FileSecurityTest::testWriteHtaccessForceOverwrite function core/tests/Drupal/Tests/Component/FileSecurity/FileSecurityTest.php @covers ::writeHtaccess
FileSecurityTest::testWriteHtaccessPrivate function core/tests/Drupal/Tests/Component/FileSecurity/FileSecurityTest.php @covers ::writeHtaccess
FileSecurityTest::testWriteHtaccessPublic function core/tests/Drupal/Tests/Component/FileSecurity/FileSecurityTest.php @covers ::writeHtaccess
FileSelection class core/modules/file/src/Plugin/EntityReferenceSelection/FileSelection.php Provides specific access control for the file entity type.
FileSelection.php file core/modules/file/src/Plugin/EntityReferenceSelection/FileSelection.php
FileSelection::buildEntityQuery function core/modules/file/src/Plugin/EntityReferenceSelection/FileSelection.php Builds an EntityQuery to get referenceable entities.
FileSelection::createNewEntity function core/modules/file/src/Plugin/EntityReferenceSelection/FileSelection.php Creates a new entity object that can be used as a valid reference.
FileSelection::validateReferenceableNewEntities function core/modules/file/src/Plugin/EntityReferenceSelection/FileSelection.php Validates which newly created entities can be referenced.
FileServiceProvider class core/modules/file/src/FileServiceProvider.php Adds 'application/octet-stream' as a known (bin) format.
FileServiceProvider.php file core/modules/file/src/FileServiceProvider.php
FileServiceProvider::alter function core/modules/file/src/FileServiceProvider.php Modifies existing service definitions.
FileSize class core/modules/file/src/Plugin/Field/FieldFormatter/FileSize.php Formatter that shows the file byte size in a human-readable way.
FileSize class core/modules/views/src/Plugin/views/field/FileSize.php Render a numeric value as a size.
FileSize.php file core/modules/file/src/Plugin/Field/FieldFormatter/FileSize.php
FileSize.php file core/modules/views/src/Plugin/views/field/FileSize.php
FileSize::buildOptionsForm function core/modules/views/src/Plugin/views/field/FileSize.php Default option form that provides label widget that all fields should have.
FileSize::defineOptions function core/modules/views/src/Plugin/views/field/FileSize.php Information about options for all kinds of purposes will be held here.
FileSize::render function core/modules/views/src/Plugin/views/field/FileSize.php Renders the field.
FileSize::viewElements function core/modules/file/src/Plugin/Field/FieldFormatter/FileSize.php Builds a renderable array for a field value.
FileSizeLimitConstraint class core/modules/file/src/Plugin/Validation/Constraint/FileSizeLimitConstraint.php File size max constraint.
FileSizeLimitConstraint.php file core/modules/file/src/Plugin/Validation/Constraint/FileSizeLimitConstraint.php
FileSizeLimitConstraint::$diskQuotaMessage property core/modules/file/src/Plugin/Validation/Constraint/FileSizeLimitConstraint.php The message for when disk quota is exceeded.
FileSizeLimitConstraint::$fileLimit property core/modules/file/src/Plugin/Validation/Constraint/FileSizeLimitConstraint.php The file limit.
FileSizeLimitConstraint::$maxFileSizeMessage property core/modules/file/src/Plugin/Validation/Constraint/FileSizeLimitConstraint.php The message for when file size limit is exceeded.
FileSizeLimitConstraint::$userLimit property core/modules/file/src/Plugin/Validation/Constraint/FileSizeLimitConstraint.php The user limit.
FileSizeLimitConstraint::getDefaultOption function core/modules/file/src/Plugin/Validation/Constraint/FileSizeLimitConstraint.php
FileSizeLimitConstraintValidator class core/modules/file/src/Plugin/Validation/Constraint/FileSizeLimitConstraintValidator.php Validates the FileSizeLimitConstraint.
FileSizeLimitConstraintValidator.php file core/modules/file/src/Plugin/Validation/Constraint/FileSizeLimitConstraintValidator.php
FileSizeLimitConstraintValidator::create function core/modules/file/src/Plugin/Validation/Constraint/FileSizeLimitConstraintValidator.php Instantiates a new instance of this class.
FileSizeLimitConstraintValidator::validate function core/modules/file/src/Plugin/Validation/Constraint/FileSizeLimitConstraintValidator.php
FileSizeLimitConstraintValidator::__construct function core/modules/file/src/Plugin/Validation/Constraint/FileSizeLimitConstraintValidator.php Creates a new FileSizeConstraintValidator.
FileSizeLimitConstraintValidatorTest class core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileSizeLimitConstraintValidatorTest.php Tests the FileSizeLimitConstraintValidator.
FileSizeLimitConstraintValidatorTest.php file core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileSizeLimitConstraintValidatorTest.php
FileSizeLimitConstraintValidatorTest::testFileValidateSize function core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileSizeLimitConstraintValidatorTest.php @covers ::validate
FileStorage class core/modules/file/src/FileStorage.php File storage for files.
FileStorage class core/lib/Drupal/Core/Config/FileStorage.php Defines the file storage.
FileStorage class core/lib/Drupal/Component/PhpStorage/FileStorage.php Stores the code as regular PHP files.
FileStorage.php file core/lib/Drupal/Core/Config/FileStorage.php
FileStorage.php file core/lib/Drupal/Component/PhpStorage/FileStorage.php
FileStorage.php file core/modules/file/src/FileStorage.php

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