simple_adsense.install in Simple AdSense 7
Default configuration.
File
simple_adsense.installView source
<?php
/**
* @file
* Default configuration.
*/
/**
* Implements hook_install().
*/
function simple_adsense_install() {
$slots = array();
$slots[1] = "5270097160";
$client = "pub-9513614146655499";
variable_set('simple_adsense_slots', $slots);
variable_set('simple_adsense_client', $client);
}
/**
* Implements hook_uninstall().
*/
function simple_adsense_uninstall() {
variable_del('simple_adsense_slots');
variable_del('simple_adsense_client');
}
Functions
Name | Description |
---|---|
simple_adsense_install | Implements hook_install(). |
simple_adsense_uninstall | Implements hook_uninstall(). |