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
»
FunctionInterface.php
»
Twig_FunctionInterface
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_FunctionInterface::compile
Compiles a function.
Return value
string The PHP code for the function
3 methods override Twig_FunctionInterface::compile()
Twig_Function_Function::compile
in drupal/
core/
vendor/
twig/
twig/
lib/
Twig/
Function/
Function.php
Compiles a function.
Twig_Function_Method::compile
in drupal/
core/
vendor/
twig/
twig/
lib/
Twig/
Function/
Method.php
Compiles a function.
Twig_Function_Node::compile
in drupal/
core/
vendor/
twig/
twig/
lib/
Twig/
Function/
Node.php
Compiles a function.
File
drupal/
core/
vendor/
twig/
twig/
lib/
Twig/
FunctionInterface.php
, line 28
Class
Twig_FunctionInterface
Represents a template function.
Code
public
function
compile
();