5 calls to FileSecurity::htaccessLines()
- DirectoryTest::testFileCheckDirectoryHandling in core/
tests/ Drupal/ KernelTests/ Core/ File/ DirectoryTest.php - Tests directory handling functions.
- FileSaveHtaccessLoggingTest::testHtaccessSave in core/
modules/ system/ tests/ src/ Functional/ File/ FileSaveHtaccessLoggingTest.php - Tests the HtaccessWriter service write functionality.
- FileSecurity::writeHtaccess in core/
lib/ Drupal/ Component/ FileSecurity/ FileSecurity.php - Writes an .htaccess file in the given directory, if it doesn't exist.
- HtaccessWriter::write in core/
lib/ Drupal/ Core/ File/ HtaccessWriter.php - Creates a .htaccess file in the given directory.
- MTimeProtectedFileStorageBase::testSecurity in core/
tests/ Drupal/ Tests/ Component/ PhpStorage/ MTimeProtectedFileStorageBase.php - Tests the security of the MTimeProtectedFileStorage implementation.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.