9 calls to FileSecurity::writeHtaccess()
- Composer::ensureHtaccess in core/
lib/ Drupal/ Core/ Composer/ Composer.php - Ensures that .htaccess and web.config files are present in Composer root.
- 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.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.