function HtaccessWriterInterface::defaultProtectedDirs
Same name in other branches
- 8.9.x core/lib/Drupal/Core/File/HtaccessWriterInterface.php \Drupal\Core\File\HtaccessWriterInterface::defaultProtectedDirs()
- 10 core/lib/Drupal/Core/File/HtaccessWriterInterface.php \Drupal\Core\File\HtaccessWriterInterface::defaultProtectedDirs()
- 11.x core/lib/Drupal/Core/File/HtaccessWriterInterface.php \Drupal\Core\File\HtaccessWriterInterface::defaultProtectedDirs()
Returns a list of the default protected directories.
Return value
\Drupal\Core\File\ProtectedDirectory[] The default protected directories.
1 method overrides HtaccessWriterInterface::defaultProtectedDirs()
- HtaccessWriter::defaultProtectedDirs in core/
lib/ Drupal/ Core/ File/ HtaccessWriter.php - Returns a list of the default protected directories.
File
-
core/
lib/ Drupal/ Core/ File/ HtaccessWriterInterface.php, line 21
Class
- HtaccessWriterInterface
- Interface for managing Apache .htaccess files.
Namespace
Drupal\Core\FileCode
public function defaultProtectedDirs();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.