public function MachineNameController::__construct

Constructs a MachineNameController object.

Parameters

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

File

drupal/core/modules/system/lib/Drupal/system/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;
}