You are here

private function MenuLinksController::getEditableConfig in Structure Sync 8

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

Gets the editable version of the config.

1 call to MenuLinksController::getEditableConfig()
MenuLinksController::__construct in src/Controller/MenuLinksController.php
Constructor for menu links controller.

File

src/Controller/MenuLinksController.php, line 28

Class

MenuLinksController
Controller for syncing menu links.

Namespace

Drupal\structure_sync\Controller

Code

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