You are here

public function Twig_Node_Module::setIndex in Translation template extractor 6.3

Same name and namespace in other branches
  1. 7.3 vendor/Twig/Node/Module.php \Twig_Node_Module::setIndex()

File

vendor/Twig/Node/Module.php, line 26

Class

Twig_Node_Module
Represents a module node.

Code

public function setIndex($index) {
  $this
    ->setAttribute('index', $index);
}