$hasAdminPermission()
Overview
public any function $hasAdminPermission()
Proxy to the permissionservice-hasadminpermission method of Admin permissions service. See CMS permissioning for a full guide.
Example
if ( $hasAdminPermission( "eventssystem.manage" ) ) {
// ...
}