function HtaccessWriterInterface::defaultProtectedDirs

Same name in other branches
  1. 9 core/lib/Drupal/Core/File/HtaccessWriterInterface.php \Drupal\Core\File\HtaccessWriterInterface::defaultProtectedDirs()
  2. 10 core/lib/Drupal/Core/File/HtaccessWriterInterface.php \Drupal\Core\File\HtaccessWriterInterface::defaultProtectedDirs()
  3. 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\File

Code

public function defaultProtectedDirs();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.