You are here

public function MobileDetectTwig::__construct in Mobile Detect 8.2

* Constructor *

Parameters

MobileDetect $mobileDetector:

File

src/Twig/MobileDetectTwig.php, line 27

Class

MobileDetectTwig
MobileDetectTwig class.

Namespace

Drupal\mobile_detect\Twig

Code

public function __construct(MobileDetect $mobileDetector) {
  $this->mobileDetector = $mobileDetector;
}