layouter.install in Layouter - WYSIWYG layout templates 7
Install file.
File
layouter.installView source
<?php
/**
* @file
* Install file.
*/
/**
* Implements hook_enable().
*/
function layouter_enable() {
db_update('system')
->fields(array(
'weight' => 10,
))
->condition('type', 'module')
->condition('name', 'layouter')
->execute();
}
/**
* Implements hook_uninstall().
*/
function layouter_uninstall() {
variable_del('layouter_text_formats');
variable_del('layouter_content_types');
variable_del('layouter_image_styles');
variable_del('layouter_uri_scheme');
}
Functions
Name | Description |
---|---|
layouter_enable | Implements hook_enable(). |
layouter_uninstall | Implements hook_uninstall(). |