You are here

public function Twig_Tests_TemplateTest::getTestsDependingOnExtensionAvailability in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/twig/twig/test/Twig/Tests/TemplateTest.php \Twig_Tests_TemplateTest::getTestsDependingOnExtensionAvailability()

File

vendor/twig/twig/test/Twig/Tests/TemplateTest.php, line 208

Class

Twig_Tests_TemplateTest

Code

public function getTestsDependingOnExtensionAvailability() {
  if (function_exists('twig_template_get_attributes')) {
    return array(
      array(
        false,
      ),
      array(
        true,
      ),
    );
  }
  return array(
    array(
      false,
    ),
  );
}