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
»
Token.php
»
Twig_Token
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
public function Twig_Token::getType
Gets the token type.
Return value
integer The token type
File
drupal/
core/
vendor/
twig/
twig/
lib/
Twig/
Token.php
, line 104
Class
Twig_Token
Represents a Token.
Code
public
function
getType
() {
return
$this
->
type
; }