You are here

function video_install in Video 6.2

Same name and namespace in other branches
  1. 5 video.install \video_install()
  2. 6.5 video.install \video_install()
  3. 6 video.install \video_install()
  4. 6.3 video.install \video_install()
  5. 6.4 video.install \video_install()
  6. 7.2 video.install \video_install()
  7. 7 video.install \video_install()

Implementation of hook_install().

File

./video.install, line 151
Provide installation functions for video.module .

Code

function video_install() {
  drupal_install_schema('video');

  // default values for some variables use for resolution stuff
  variable_set('video_resolution_1_name', '16:9 - Widescreen');
  variable_set('video_resolution_1_value', '400x226');
  variable_set('video_resolution_2_name', '4:3 - Television');
  variable_set('video_resolution_2_value', '400x300');
}