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
»
TestInterface.php
»
Twig_TestInterface
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_TestInterface::compile
Compiles a test.
Return value
string The PHP code for the test
3 methods override Twig_TestInterface::compile()
Twig_Test_Function::compile
in drupal/
core/
vendor/
twig/
twig/
lib/
Twig/
Test/
Function.php
Compiles a test.
Twig_Test_Method::compile
in drupal/
core/
vendor/
twig/
twig/
lib/
Twig/
Test/
Method.php
Compiles a test.
Twig_Test_Node::compile
in drupal/
core/
vendor/
twig/
twig/
lib/
Twig/
Test/
Node.php
Compiles a test.
File
drupal/
core/
vendor/
twig/
twig/
lib/
Twig/
TestInterface.php
, line 25
Class
Twig_TestInterface
Represents a template test.
Code
public
function
compile
();