function TwigComponentLoader::__construct

Same name in other branches
  1. 11.x core/modules/sdc/src/Twig/TwigComponentLoader.php \Drupal\sdc\Twig\TwigComponentLoader::__construct()

Constructs a new ComponentLoader object.

Parameters

\Drupal\sdc\ComponentPluginManager $pluginManager: The plugin manager.

\Psr\Log\LoggerInterface $logger: The logger.

File

core/modules/sdc/src/Twig/TwigComponentLoader.php, line 29

Class

TwigComponentLoader
Lets you load templates using the component ID.

Namespace

Drupal\sdc\Twig

Code

public function __construct(ComponentPluginManager $pluginManager, LoggerInterface $logger) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.