function TestingExampleController::__construct

Constructs a new \Drupal\testing_example\Controller\TestingExampleController.

Parameters

\Drupal\Core\Extension\ModuleExtensionList $module_extension: The module extension list.

File

modules/testing_example/src/Controller/TestingExampleController.php, line 35

Class

TestingExampleController
Controller for testing_example module.

Namespace

Drupal\testing_example\Controller

Code

public function __construct(ModuleExtensionList $module_extension) {
    $this->moduleExtensionList = $module_extension;
}