Fractas\GoogleAnalytics\GoogleTagManagerMiddleware::getIsAdmin
Determine whether the website is being viewed from an admin protected area or not (shamelessly stolen from https://github.com/silverstripe/silverstripe-subsites).
Signature
private function getIsAdmin(HTTPRequest
$request )
Parameters
$request
— SilverStripe\Control\HTTPRequest
Returns
- bool