public function Twig_Environment::getTests

Gets the registered Tests.

Return value

Twig_TestInterface[] An array of Twig_TestInterface instances

File

drupal/core/vendor/twig/twig/lib/Twig/Environment.php, line 869

Class

Twig_Environment
Stores the Twig configuration.

Code

public function getTests() {
  if (!$this->extensionInitialized) {
    $this
      ->initExtensions();
  }
  return $this->tests;
}