Update to Drupal 8.0.1. For more information, see https://www.drupal.org/node/2627402
This commit is contained in:
parent
013aaaf2ff
commit
1a0e9d9fac
153 changed files with 1268 additions and 670 deletions
|
@ -44,7 +44,7 @@ class UserAccessControlHandler extends EntityAccessControlHandler {
|
|||
return AccessResult::allowed()->cachePerPermissions()->cacheUntilEntityChanges($entity);
|
||||
}
|
||||
// Users can view own profiles at all times.
|
||||
else if ($account->id() == $entity->id()) {
|
||||
elseif ($account->id() == $entity->id()) {
|
||||
return AccessResult::allowed()->cachePerUser();
|
||||
}
|
||||
break;
|
||||
|
|
Reference in a new issue