simple_instagram_feed.install in Simple Instagram Feed Block 1.0.x
Same filename and directory in other branches
Install, update and uninstall for simple instagram feed module.
File
simple_instagram_feed.installView source
<?php
/**
* @file
* Install, update and uninstall for simple instagram feed module.
*/
/**
* Implements hook_install().
*/
function simple_instagram_feed_install() {
// Create the simple_instagram_feed directory and ensure it's writable.
$directory = file_default_scheme() . '://simple_instagram_feed';
$mode = isset($GLOBALS['install_state']['mode']) ? $GLOBALS['install_state']['mode'] : NULL;
file_prepare_directory($directory, FILE_CREATE_DIRECTORY | FILE_MODIFY_PERMISSIONS, $mode);
}
Functions
Name | Description |
---|---|
simple_instagram_feed_install | Implements hook_install(). |