You are here

public function MobileDeviceDetectionObject::isTablet in Mobile Device Detection 8

1 call to MobileDeviceDetectionObject::isTablet()
MobileDeviceDetection::isTablet in src/Object/MobileDeviceDetection.php
*
1 method overrides MobileDeviceDetectionObject::isTablet()
MobileDeviceDetection::isTablet in src/Object/MobileDeviceDetection.php
*

File

src/Object/MobileDeviceDetectionObject.php, line 91

Class

MobileDeviceDetectionObject

Namespace

Drupal\mobile_device_detection\Object

Code

public function isTablet() {
  return $this->object->type === 'tablet' ? true : false;
}