You are here

private function BlocksController::getEditableConfig in Structure Sync 8

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

Gets the editable version of the config.

1 call to BlocksController::getEditableConfig()
BlocksController::__construct in src/Controller/BlocksController.php
Constructor for custom blocks controller.

File

src/Controller/BlocksController.php, line 28

Class

BlocksController
Controller for syncing custom blocks.

Namespace

Drupal\structure_sync\Controller

Code

private function getEditableConfig() {
  $this
    ->config('structure_sync.data');
  return $this->configFactory
    ->getEditable('structure_sync.data');
}