You are here

protected function MobileDeviceDetection::getMobileHeaders in Mobile Device Detection 8.3

Same name and namespace in other branches
  1. 8.2 src/Object/MobileDeviceDetection.php \Drupal\mobile_device_detection\Object\MobileDeviceDetection::getMobileHeaders()

Get headers.

2 calls to MobileDeviceDetection::getMobileHeaders()
MobileDeviceDetection::check in src/Object/MobileDeviceDetection.php
Is checking which kind of device using.
MobileDeviceDetection::setUserAgentHeaders in src/Object/MobileDeviceDetection.php
Set user agent headers.

File

src/Object/MobileDeviceDetection.php, line 150

Class

MobileDeviceDetection
MobileDeviceDetection object.

Namespace

Drupal\mobile_device_detection\Object

Code

protected function getMobileHeaders() {
  return $this->mobileHeaders;
}