function CourseObjectAccessTiming::view in Course 3.x
Same name and namespace in other branches
- 8.3 src/Plugin/course/CourseObjectAccess/CourseObjectAccessTiming.php \Drupal\course\Plugin\course\CourseObjectAccess\CourseObjectAccessTiming::view()
- 8.2 src/Plugin/course/CourseObjectAccess/CourseObjectAccessTiming.php \Drupal\course\Plugin\course\CourseObjectAccess\CourseObjectAccessTiming::view()
Can the user view the object but not interact?
Parameters
type $account:
Return value
boolean
Overrides CourseObjectAccessPluginBase::view
File
- src/
Plugin/ course/ CourseObjectAccess/ CourseObjectAccessTiming.php, line 61
Class
- CourseObjectAccessTiming
- Plugin annotation @CourseObjectAccess( id = "timing", label = @Translation("Timing"), )
Namespace
Drupal\course\Plugin\course\CourseObjectAccessCode
function view($account) {
return $this
->take($account);
}