8 calls to FileSecurity::writeHtaccess() in Drupal 10
- FileSecurityTest::testWriteHtaccessFailure in core/
tests/ Drupal/ Tests/ Component/ FileSecurity/ FileSecurityTest.php - @covers ::writeHtaccess
- FileSecurityTest::testWriteHtaccessForceOverwrite in core/
tests/ Drupal/ Tests/ Component/ FileSecurity/ FileSecurityTest.php - @covers ::writeHtaccess
- FileSecurityTest::testWriteHtaccessPrivate in core/
tests/ Drupal/ Tests/ Component/ FileSecurity/ FileSecurityTest.php - @covers ::writeHtaccess
- FileSecurityTest::testWriteHtaccessPublic in core/
tests/ Drupal/ Tests/ Component/ FileSecurity/ FileSecurityTest.php - @covers ::writeHtaccess
- FileStorage::ensureDirectory in core/
lib/ Drupal/ Component/ PhpStorage/ FileStorage.php - Ensures the directory exists, has the right permissions, and a .htaccess.
- FileStorage::ensureStorage in core/
lib/ Drupal/ Core/ Config/ FileStorage.php - Check if the directory exists and create it if not.
- HtaccessWriter::write in core/
lib/ Drupal/ Core/ File/ HtaccessWriter.php - Creates a .htaccess file in the given directory.
- system_check_directory in core/
modules/ system/ system.module - Checks the existence of the directory specified in $form_element.