You are here

public function StickynavController::__construct in Sticky Navigation 8

Constructs a \Drupal\stickynav\Controller\StickynavController object.

Parameters

\Drupal\Core\Extension\ThemeHandlerInterface $theme_handler: The theme handler.

File

src/Controller/StickynavController.php, line 22

Class

StickynavController
Returns responses for stickynav module routes.

Namespace

Drupal\stickynav\Controller

Code

public function __construct(ThemeHandlerInterface $theme_handler) {
  $this->theme_handler = $theme_handler;
}