You are here

function file_styles_install in Styles 7

Same name and namespace in other branches
  1. 7.2 contrib/file_styles/file_styles.install \file_styles_install()

Implement hook_install().

File

contrib/file_styles/file_styles.install, line 11
Install, update and uninstall functions for the file styles module.

Code

function file_styles_install() {

  // Create the styles directory and ensure it's writable.
  $path = 'temporary://file-styles';
  file_prepare_directory($path, FILE_CREATE_DIRECTORY | FILE_MODIFY_PERMISSIONS);
}