You are here

protected function CourseAccessControlHandler::processAccessHookResults in Course 3.x

Same name and namespace in other branches
  1. 8.3 src/Access/CourseAccessControlHandler.php \Drupal\course\Access\CourseAccessControlHandler::processAccessHookResults()
  2. 8.2 src/Access/CourseAccessControlHandler.php \Drupal\course\Access\CourseAccessControlHandler::processAccessHookResults()

Handle multiple access denied messages (for enrolling and taking).

File

src/Access/CourseAccessControlHandler.php, line 21

Class

CourseAccessControlHandler
Access controller for the Course entity.

Namespace

Drupal\course\Access

Code

protected function processAccessHookResults(array $access) {

  // @todo sort by weight and allow altering
  return parent::processAccessHookResults($access);
}