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