You are here

public function ConfigDistroIgnoreController::diff in Config Distro 8

File

modules/config_distro_ignore/src/Controller/ConfigDistroIgnoreController.php, line 25

Class

ConfigDistroIgnoreController
Returns responses for config module routes.

Namespace

Drupal\config_distro_ignore\Controller

Code

public function diff($source_name, $target_name = NULL, $collection = NULL) {
  $build = parent::diff($source_name, $target_name = NULL, $collection = NULL);
  $build['back']['#url'] = Url::fromRoute('config_distro.import');
  return $build;
}