public function CourseObjectAccessPluginBase::view in Course 3.x
Same name and namespace in other branches
- 8.3 src/Plugin/CourseObjectAccessPluginBase.php \Drupal\course\Plugin\CourseObjectAccessPluginBase::view()
- 8.2 src/Plugin/CourseObjectAccessPluginBase.php \Drupal\course\Plugin\CourseObjectAccessPluginBase::view()
Can the user view the object but not interact?
Parameters
type $account:
Return value
boolean
2 methods override CourseObjectAccessPluginBase::view()
- CourseObjectAccessConditional::view in src/
Plugin/ course/ CourseObjectAccess/ CourseObjectAccessConditional.php - Can the user view the object but not interact?
- CourseObjectAccessTiming::view in src/
Plugin/ course/ CourseObjectAccess/ CourseObjectAccessTiming.php - Can the user view the object but not interact?
File
- src/
Plugin/ CourseObjectAccessPluginBase.php, line 101
Class
- CourseObjectAccessPluginBase
- Base class for Course object access plugins.
Namespace
Drupal\course\PluginCode
public function view($account) {
return TRUE;
}