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

Breadcrumb

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

function Error::setAttributes

Sets the attributes of the node/token the error occurred at.

Parameters

array<string, mixed> $attributes:

File

vendor/nikic/php-parser/lib/PhpParser/Error.php, line 65

Class

Error

Namespace

PhpParser

Code

public function setAttributes(array $attributes) : void {
    $this->attributes = $attributes;
    $this->updateMessage();
}

API Navigation

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