Image::chmod

protected function Image::chmod

protected Image::chmod($uri, $mode = NULL)

Provides a wrapper for drupal_chmod() to allow unit testing.

@todo Remove when https://www.drupal.org/node/2050759 is in.

Parameters

string $uri: A string containing a URI file, or directory path.

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