You are here

public function CourseObjectAccessPluginBase::evaluate in Course 3.x

Evaluate the access conditions.

Parameters

AccountInterface $account:

Return value

bool

2 calls to CourseObjectAccessPluginBase::evaluate()
CourseObjectAccessPluginBase::alterOptions in src/Plugin/CourseObjectAccessPluginBase.php
Alter a property during display/tracking. Does not affect the stored options. This is called in CourseObject::getReadOnlyOptions().
CourseObjectAccessPluginBase::take in src/Plugin/CourseObjectAccessPluginBase.php
Can the user take the object?
1 method overrides CourseObjectAccessPluginBase::evaluate()
CourseObjectAccessGrade::evaluate in src/Plugin/course/CourseObjectAccess/CourseObjectAccessGrade.php
Evaluate the access conditions.

File

src/Plugin/CourseObjectAccessPluginBase.php, line 136

Class

CourseObjectAccessPluginBase
Base class for Course object access plugins.

Namespace

Drupal\course\Plugin

Code

public function evaluate(AccountInterface $account) {
}