function opigno_learning_path_install in Opigno Learning path 8
Same name and namespace in other branches
- 3.x opigno_learning_path.install \opigno_learning_path_install()
Creates database table for Learning Path group user statuses.
On module install.
File
- ./
opigno_learning_path.install, line 21 - Install, update and uninstall functions for the module.
Code
function opigno_learning_path_install() {
LearningPathAccess::createUserStatusTable();
_opigno_learning_path_create_achievements_table();
_opigno_learning_path_create_step_achievements_table();
_opigno_learning_path_create_lp_module_availability_table();
_opigno_learning_path_create_user_lp_status_table();
_opigno_learning_path_create_user_lp_status_expire_table();
}