Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 8.x
»
Lexer.php
»
Twig_Lexer
Search Drupal 8.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 8.x
Topics
Classes
Functions
Files
Namespaces
Services
Constants
Globals
Deprecated
protected function Twig_Lexer::pushState
3 calls to Twig_Lexer::pushState()
Twig_Lexer::lexData
in drupal/
core/
vendor/
twig/
twig/
lib/
Twig/
Lexer.php
Twig_Lexer::lexExpression
in drupal/
core/
vendor/
twig/
twig/
lib/
Twig/
Lexer.php
Twig_Lexer::lexString
in drupal/
core/
vendor/
twig/
twig/
lib/
Twig/
Lexer.php
File
drupal/
core/
vendor/
twig/
twig/
lib/
Twig/
Lexer.php
, line 394
Class
Twig_Lexer
Lexes a template string.
Code
protected
function
pushState
(
$state
) {
$this
->
states
[] =
$this
->
state
;
$this
->
state
=
$state
; }