You are here

public function BlocksController::__construct in Structure Sync 8

Same name and namespace in other branches
  1. 2.x src/Controller/BlocksController.php \Drupal\structure_sync\Controller\BlocksController::__construct()

Constructor for custom blocks controller.

File

src/Controller/BlocksController.php, line 20

Class

BlocksController
Controller for syncing custom blocks.

Namespace

Drupal\structure_sync\Controller

Code

public function __construct() {
  $this->config = $this
    ->getEditableConfig();
  $this
    ->entityTypeManager();
}