You are here

function clean_markup_blocks_install in Clean Markup 7.2

Same name and namespace in other branches
  1. 7.3 modules/clean_markup_blocks/clean_markup_blocks.install \clean_markup_blocks_install()
  2. 7 modules/clean_markup_blocks/clean_markup_blocks.install \clean_markup_blocks_install()

Implements hook_install().

File

modules/clean_markup_blocks/clean_markup_blocks.install, line 13

Code

function clean_markup_blocks_install() {
  $defaults = array(
    'block_wrapper' => 'div',
    'additional_block_classes' => '',
    'additional_block_attributes' => '',
    'enable_inner_div' => FALSE,
    'title_wrapper' => 'h2',
    'title_hide' => FALSE,
    'content_wrapper' => CLEAN_MARKUP_NO_ELEMENT,
    'block_html_id_as_class' => TRUE,
  );

  // Save default settings for all blocks.
  variable_set('clean_markup_blocks-defaults', $defaults);
}