public function Twig_Template::getBlocks

Returns all blocks.

This method is for internal use only and should never be called directly.

Return value

array An array of blocks

See also

hasBlock

File

drupal/core/vendor/twig/twig/lib/Twig/Template.php, line 229

Class

Twig_Template
Default base class for compiled templates.

Code

public function getBlocks() {
  return $this->blocks;
}