interface ChmodInterface in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/FileTransfer/ChmodInterface.php \Drupal\Core\FileTransfer\ChmodInterface
- 10 core/lib/Drupal/Core/FileTransfer/ChmodInterface.php \Drupal\Core\FileTransfer\ChmodInterface
Defines an interface to chmod files.
Hierarchy
- interface \Drupal\Core\FileTransfer\ChmodInterface
Expanded class hierarchy of ChmodInterface
All classes that implement ChmodInterface
File
- core/
lib/ Drupal/ Core/ FileTransfer/ ChmodInterface.php, line 8
Namespace
Drupal\Core\FileTransferView source
interface ChmodInterface {
/**
* Changes the permissions of the file / directory specified in $path
*
* @param string $path
* Path to change permissions of.
* @param int $mode
* The new file permission mode to be passed to chmod().
* @param bool $recursive
* Pass TRUE to recursively chmod the entire directory specified in $path.
*
* @see http://php.net/chmod
*/
public function chmodJailed($path, $mode, $recursive);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ChmodInterface:: |
public | function | Changes the permissions of the file / directory specified in $path | 3 |