You are here

function image_example_install in Examples for Developers 7

Implements hook_install().

Related topics

File

image_example/image_example.install, line 13
Install, update, and uninstall functions for the image_example module.

Code

function image_example_install() {

  // Set a variable containing the name of the style to use when the module
  // outputs an image.
  variable_set('image_example_style_name', 'image_example_style');
}