function course_install in Course 8.2
Same name and namespace in other branches
- 8.3 course.install \course_install()
- 6 course.install \course_install()
- 7.2 course.install \course_install()
- 7 course.install \course_install()
- 3.x course.install \course_install()
Implements hook_install().
Install a default content type, set some defaults.
File
- ./
course.install, line 13 - course.install Install and update functions for Courses.
Code
function course_install() {
// @todo rework flag for d8
//variable_set('course_use_course', 1);
user_role_grant_permissions(DRUPAL_AUTHENTICATED_RID, array(
'view course',
));
}