public function ClientModuleController::__construct in farmOS 2.x
ClientModuleController constructor.
Parameters
\Drupal\Core\Asset\LibraryDiscoveryInterface $library_discovery: The library discovery service.
File
- modules/
core/ client/ src/ Controller/ ClientModuleController.php, line 30
Class
- ClientModuleController
- Serves JavaScript files for client modules.
Namespace
Drupal\farm_client\ControllerCode
public function __construct(LibraryDiscoveryInterface $library_discovery) {
$this->libraryDiscovery = $library_discovery;
}