interface ChmodInterface

Defines an interface to chmod files.

Hierarchy

Expanded class hierarchy of ChmodInterface

All classes that implement ChmodInterface

File

drupal/core/lib/Drupal/Core/FileTransfer/ChmodInterface.php, line 13
Definition of Drupal\Core\FileTransfer\ChmodInterface.

Namespace

Drupal\Core\FileTransfer
View 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
   */
  function chmodJailed($path, $mode, $recursive);

}

Members

Namesort descending Modifiers Type Description Overrides
ChmodInterface::chmodJailed function Changes the permissions of the file / directory specified in $path 3