public function Course::accessMultiple in Course 3.x
Get all access results.
Return value
File
- src/
Entity/ Course.php, line 528
Class
- Course
- Defines the Course entity class.
Namespace
Drupal\course\EntityCode
public function accessMultiple($operation, AccountInterface $account = NULL) {
if ($account == NULL) {
$account = \Drupal::currentUser();
}
return \Drupal::moduleHandler()
->invokeAll('course_access', [
$this,
$operation,
$account,
]);
}