public function FieldController::__construct in Display Suite 8.4
Same name and namespace in other branches
- 8.2 src/Controller/FieldController.php \Drupal\ds\Controller\FieldController::__construct()
- 8.3 src/Controller/FieldController.php \Drupal\ds\Controller\FieldController::__construct()
Constructs a \Drupal\ds\Controller\FieldController object.
Parameters
\Drupal\Core\Config\StorageInterface $storage: The configuration storage.
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.
File
- src/
Controller/ FieldController.php, line 40
Class
- FieldController
- Route controller fields.
Namespace
Drupal\ds\ControllerCode
public function __construct(StorageInterface $storage, ModuleHandlerInterface $module_handler) {
$this->storage = $storage;
$this->moduleHandler = $module_handler;
}