public function HtaccessWriterInterface::ensure in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/File/HtaccessWriterInterface.php \Drupal\Core\File\HtaccessWriterInterface::ensure()
- 9 core/lib/Drupal/Core/File/HtaccessWriterInterface.php \Drupal\Core\File\HtaccessWriterInterface::ensure()
Creates a .htaccess file in each Drupal files directory if it is missing.
File
- core/
lib/ Drupal/ Core/ File/ HtaccessWriterInterface.php, line 13
Class
- HtaccessWriterInterface
- Interface for managing Apache .htaccess files.
Namespace
Drupal\Core\FileCode
public function ensure();