Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. NodeAttributes.php

function NodeAttributes::hasAttribute

1 call to NodeAttributes::hasAttribute()
NodeAttributes::getAttribute in vendor/phpstan/phpdoc-parser/src/Ast/NodeAttributes.php
*

File

vendor/phpstan/phpdoc-parser/src/Ast/NodeAttributes.php, line 21

Class

NodeAttributes

Namespace

PHPStan\PhpDocParser\Ast

Code

public function hasAttribute(string $key) : bool {
    return array_key_exists($key, $this->attributes);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal