You are here

protected function CourseAccessControlHandler::processAccessHookResults in Course 8.2

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

Handle multiple access denied messages.

Overrides EntityAccessControlHandler::processAccessHookResults

File

src/Access/CourseAccessControlHandler.php, line 45

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);
}