public function Twig_Node::removeAttribute

Removes an attribute.

Parameters

string The attribute name:

File

drupal/core/vendor/twig/twig/lib/Twig/Node.php, line 164

Class

Twig_Node
Represents a node in the AST.

Code

public function removeAttribute($name) {
  unset($this->attributes[$name]);
}