/** * Gets a code for a browsing device based on the input useragent string. * * @param string $userAgent The useragent string, \TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('HTTP_USER_AGENT') * @return string Code for the specific device type */ protected function getDeviceType($userAgent) { return \TYPO3\CMS\Core\Utility\ClientUtility::getDeviceType($userAgent); }