public function Twig_Node::removeAttribute in Translation template extractor 7.3
Same name and namespace in other branches
- 6.3 vendor/Twig/Node.php \Twig_Node::removeAttribute()
Removes an attribute by name.
Parameters
string $name:
File
- vendor/
Twig/ Node.php, line 168
Class
- Twig_Node
- Represents a node in the AST.
Code
public function removeAttribute($name) {
unset($this->attributes[$name]);
}