Skip to content
Snippets Groups Projects
Commit 23699d3b authored by 3i Logic LMS's avatar 3i Logic LMS
Browse files

Restrict block access to course page

Restrict block access to course page!
parent 5bed9299
Branches
No related tags found
No related merge requests found
......@@ -65,4 +65,13 @@ class block_learning_plan extends block_base {
}
return $this->content;
}
public function applicable_formats() {
return array(
'site-index' => true,
'course-view' => false,
'course-view-social' => false,
'mod' => false,
'mod-quiz' => false
);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment