Skip to main content
Drupal API
Menu
User account menu
Log in
Breadcrumb
Drupal Core 11.1.x
Node.php
function Node::hasAttribute
Same name in this branch
11.1.x vendor/phpstan/phpdoc-parser/src/Ast/Node.php
\PHPStan\PhpDocParser\Ast\Node::hasAttribute()
11.1.x vendor/twig/twig/src/Node/Node.php
\Twig\Node\Node::hasAttribute()
Returns whether an attribute exists.
1 method overrides
Node::hasAttribute()
NodeAbstract::hasAttribute
in vendor/
nikic/
php-parser/
lib/
PhpParser/
NodeAbstract.php
Returns whether an attribute exists.
File
vendor/
nikic/
php-parser/
lib/
PhpParser/
Node.php
, line 126
Class
Node
Namespace
PhpParser
Code
public
function
hasAttribute
(string
$key
) : bool;
RSS feed