Elgg  Version master
GroupPageOwnerGatekeeper.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 'group';
17  }
18 }
Check if the current route has a page owner entity and it is a group.
Check if the current route has a page owner entity.