Commit a3461cd2 authored by webchick's avatar webchick
Browse files

Issue #1869250 follow-up by fago: Correct function parameters.

parent c8e431a4
......@@ -125,7 +125,7 @@ public function __unset($name) {
* Forwards the call to the decorated entity.
*/
public function access($operation = 'view', \Drupal\user\Plugin\Core\Entity\User $account = NULL) {
return $this->decorated->access($account);
return $this->decorated->access($operation, $account);
}
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment