Skip to content
Aaron McGowan edited this page Oct 27, 2013 · 6 revisions

API - Installation Process, Hooks and Tasks

hook_imagex_installkit_install_tasks()

hook_imagex_installkit_install_tasks_alter(array &$tasks)

hook_imagex_installkit_install_block_info()

Example
function my_profile_imagex_installkit_install_block_info() {
  return array(
    'menu-menu-primary-menu' => array(
      'module' => 'menu',
      'delta' => 'menu-primary-menu',
      'theme' => 'bartik',
      'region' => 'header',
      'status' => 1,
      'visibility' => 0,
      'pages' => '',
      'title' => '<none>',
      'weight' => 0,
    ),
  );
}

hook_imagex_installkit_default_theme()

Example
function my_profile_imagex_installkit_default_theme() {
  return 'bartik';
}

hook_imagex_installkit_default_variables()

Clone this wiki locally