public function StreamWrapperInterface::chmod

Changes permissions of the resource.

PHP lacks this functionality and it is not part of the official stream wrapper interface. This is a custom implementation for Drupal.

Parameters

int $mode: Integer value for the permissions. Consult PHP chmod() documentation for more information.

Return value

bool Returns TRUE on success or FALSE on failure.

1 method overrides StreamWrapperInterface::chmod()
LocalStream::chmod in drupal/core/lib/Drupal/Core/StreamWrapper/LocalStream.php
Implements Drupal\Core\StreamWrapper\StreamWrapperInterface::chmod().

File

drupal/core/lib/Drupal/Core/StreamWrapper/StreamWrapperInterface.php, line 93
Definition of Drupal\Core\StreamWrapper\StreamWrapperInterface.

Class

StreamWrapperInterface
Defines a Drupal stream wrapper extension.

Namespace

Drupal\Core\StreamWrapper

Code

public function chmod($mode);