public function Twig_Parser::hasBlock

File

drupal/core/vendor/twig/twig/lib/Twig/Parser.php, line 239

Class

Twig_Parser
Default parser implementation.

Code

public function hasBlock($name) {
  return isset($this->blocks[$name]);
}