public function Index::__construct in Flot 8
Constructs a MyController object.
Parameters
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler service.
File
- flot_examples/
src/ Controller/ Index.php, line 29
Class
- Index
- Table of contents for the FLOT Example Module.
Namespace
Drupal\flot_examples\ControllerCode
public function __construct(ModuleHandlerInterface $module_handler) {
$this->moduleHandler = $module_handler;
}