You are here

public function CourseObjectAccessPluginBase::see in Course 3.x

Same name and namespace in other branches
  1. 8.3 src/Plugin/CourseObjectAccessPluginBase.php \Drupal\course\Plugin\CourseObjectAccessPluginBase::see()
  2. 8.2 src/Plugin/CourseObjectAccessPluginBase.php \Drupal\course\Plugin\CourseObjectAccessPluginBase::see()

Can the user see the object in the outline?

Parameters

type $account:

Return value

boolean

2 methods override CourseObjectAccessPluginBase::see()
CourseObjectAccessConditional::see in src/Plugin/course/CourseObjectAccess/CourseObjectAccessConditional.php
Can the user see the object in the outline?
CourseObjectAccessTiming::see in src/Plugin/course/CourseObjectAccess/CourseObjectAccessTiming.php
Can the user see the object in the outline?

File

src/Plugin/CourseObjectAccessPluginBase.php, line 91

Class

CourseObjectAccessPluginBase
Base class for Course object access plugins.

Namespace

Drupal\course\Plugin

Code

public function see($account) {
  return TRUE;
}