Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 9.x
»
Node.php
»
Twig_Test_Node
Search Drupal 9.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 9.x
Topics
Classes
Functions
Files
Namespaces
Constants
Globals
Deprecated
public function Twig_Test_Node::__construct
File
drupal/
core/
vendor/
twig/
twig/
lib/
Twig/
Test/
Node.php
, line 22
Class
Twig_Test_Node
Represents a template test as a Node.
Code
public
function
__construct
(
$class
) {
$this
->
class
=
$class
; }