Elgg  Version 6.0
UserPageOwnerGatekeeper.php
Go to the documentation of this file.
1 <?php
2 
3 namespace Elgg\Router\Middleware;
4 
11 
15  protected function getType(): string {
16  return 'user';
17  }
18 }
Check if the current route has a page owner entity and it is a user.
Check if the current route has a page owner entity.