You are here

public function ThemePerm::__construct in Theme permission 8

ThemePerm constructor.

Parameters

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

File

src/ThemePerm.php, line 34

Class

ThemePerm
Theme Permission.

Namespace

Drupal\theme_permission

Code

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