You are here

function opigno_lms_install_tasks in Opigno LMS 8.2

Same name and namespace in other branches
  1. 7 opigno_lms.profile \opigno_lms_install_tasks()
  2. 3.x opigno_lms.profile \opigno_lms_install_tasks()

Implements hook_install_tasks().

File

./opigno_lms.profile, line 22
Enables modules and site configuration for a opigno_lms site installation.

Code

function opigno_lms_install_tasks(&$install_state) {
  $tasks = [
    'opigno_lms_dashboard_blocks_update' => [
      'display_name' => t('Dashboard blocks update'),
      'display' => FALSE,
      'type' => 'normal',
      'function' => 'opigno_dashboard_blocks_update',
    ],
  ];
  return $tasks;
}