You are here

public function HelperExtension::__construct in Helper 8

Constructs \Drupal\helper\Twig\HelperExtension.

Parameters

\Drupal\helper\File $file_helper: The file helper.

File

src/Twig/HelperExtension.php, line 25

Class

HelperExtension
Twig extension with some useful functions and filters.

Namespace

Drupal\helper\Twig

Code

public function __construct(File $file_helper) {
  $this->fileHelper = $file_helper;
}