function CourseObjectAccessGrade::view in Course 8.2
Same name and namespace in other branches
- 8.3 src/Plugin/course/CourseObjectAccess/CourseObjectAccessGrade.php \Drupal\course\Plugin\course\CourseObjectAccess\CourseObjectAccessGrade::view()
Overrides CourseObjectAccessPluginBase::view
File
- src/
Plugin/ course/ CourseObjectAccess/ CourseObjectAccessGrade.php, line 90
Class
- CourseObjectAccessGrade
- Plugin annotation @CourseObjectAccess( id = "grade", label = @Translation("Grade"), )
Namespace
Drupal\course\Plugin\course\CourseObjectAccessCode
function view($account) {
return $this
->take($account);
}