You are here

public function HackedDiffController::__construct in Hacked! 8.2

Constructs a HackedDiffController object.

Parameters

DiffEntityComparison $entity_comparison: DiffEntityComparison service.

File

src/Controller/HackedDiffController.php, line 32

Class

HackedDiffController
Controller routines for hacked routes.

Namespace

Drupal\hacked\Controller

Code

public function __construct(DiffEntityComparison $entity_comparison) {
  $this->config = $this
    ->config('diff.settings');
  $this->entityComparison = $entity_comparison;
}