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.
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.
bool TRUE for success, FALSE in the event of an error.
protected function chmod($uri, $mode = NULL) { return drupal_chmod($uri, $mode); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Image!Image.php/function/Image::chmod/8.1.x