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_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_Node::count
File
drupal/
core/
vendor/
twig/
twig/
lib/
Twig/
Node.php
, line 218
Class
Twig_Node
Represents a node in the AST.
Code
public
function
count
() {
return
count
(
$this
->
nodes
); }