You are here

public function FieldController::__construct in Display Suite 8.2

Same name and namespace in other branches
  1. 8.4 src/Controller/FieldController.php \Drupal\ds\Controller\FieldController::__construct()
  2. 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\Controller

Code

public function __construct(StorageInterface $storage, ModuleHandlerInterface $module_handler) {
  $this->storage = $storage;
  $this->moduleHandler = $module_handler;
}