You are here

public function MachineNameController::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/system/src/MachineNameController.php \Drupal\system\MachineNameController::__construct()

Constructs a MachineNameController object.

Parameters

\Drupal\Component\Transliteration\TransliterationInterface $transliteration: The transliteration helper.

File

core/modules/system/src/MachineNameController.php, line 35
Contains \Drupal\system\MachineNameController.

Class

MachineNameController
Controller routines for machine name transliteration routes.

Namespace

Drupal\system

Code

public function __construct(TransliterationInterface $transliteration) {
  $this->transliteration = $transliteration;
}