public function Debug::__construct in Devel 8
Same name and namespace in other branches
- 8.3 src/Twig/Extension/Debug.php \Drupal\devel\Twig\Extension\Debug::__construct()
- 8.2 src/Twig/Extension/Debug.php \Drupal\devel\Twig\Extension\Debug::__construct()
- 4.x src/Twig/Extension/Debug.php \Drupal\devel\Twig\Extension\Debug::__construct()
Constructs a Debug object.
Parameters
\Drupal\devel\DevelDumperManagerInterface $dumper: The devel dumper service.
File
- src/
Twig/ Extension/ Debug.php, line 30
Class
- Debug
- Provides the Devel debugging function within Twig templates.
Namespace
Drupal\devel\Twig\ExtensionCode
public function __construct(DevelDumperManagerInterface $dumper) {
$this->dumper = $dumper;
}