You are here

public function DevelGenerateRoutes::__construct in Devel 8

Same name and namespace in other branches
  1. 8.3 devel_generate/src/Routing/DevelGenerateRoutes.php \Drupal\devel_generate\Routing\DevelGenerateRoutes::__construct()
  2. 8.2 devel_generate/src/Routing/DevelGenerateRoutes.php \Drupal\devel_generate\Routing\DevelGenerateRoutes::__construct()
  3. 4.x devel_generate/src/Routing/DevelGenerateRoutes.php \Drupal\devel_generate\Routing\DevelGenerateRoutes::__construct()

Constructs a new devel_generate route subscriber.

Parameters

\Drupal\Component\Plugin\PluginManagerInterface $devel_generate_manager: The DevelGeneratePluginManager.

File

devel_generate/src/Routing/DevelGenerateRoutes.php, line 21

Class

DevelGenerateRoutes
Provides dynamic routes for devel_generate.

Namespace

Drupal\devel_generate\Routing

Code

public function __construct(PluginManagerInterface $devel_generate_manager) {
  $this->DevelGenerateManager = $devel_generate_manager;
}