You are here

public function Permissions::__construct in Block Region Permissions 8

Constructs a new Permissions instance.

Parameters

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

File

src/Permissions.php, line 30

Class

Permissions
Provides dynamic permissions for the block region permissions module.

Namespace

Drupal\block_region_permissions

Code

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