You are here

function semantic_panels_enable in Semantic Panels 7

Same name and namespace in other branches
  1. 7.2 semantic_panels.install \semantic_panels_enable()

Implements hook_enable().

File

./semantic_panels.install, line 11
Install, update, and uninstall functions for the semantic panels module.

Code

function semantic_panels_enable() {
  if (!_semantic_panels_can_use_fences()) {

    // Notify user of fences awesomeness.
    drupal_set_message(t('It is recommended to also install the <a href="@fences_link">Fences</a> module with Semantic Panels to access the Fences HTML element options.', array(
      '@fences_link' => url('http://drupal.org/project/fences'),
    )), 'warning', FALSE);
  }
}