You are here

function ddblock_install in Dynamic display block 6

Same name and namespace in other branches
  1. 7 ddblock.install \ddblock_install()

Implementation of hook_install().

File

./ddblock.install, line 60
Installation file to implement the dynamic display block schema

Code

function ddblock_install() {
  if (drupal_install_schema('ddblock')) {
    drupal_set_message(t('Dynamic display block module installed successfully. Module settings are available under !link', array(
      '!link' => l('Administer > Site configuration > ddblock ', 'admin/settings/ddblock/settings'),
    )));
  }
  else {
    drupal_set_message(t('The installation of the dynamic display block module was unsuccessful.'), 'error');
  }
}