SetSubtreesCommand::__construct

public SetSubtreesCommand::__construct($subtrees)

Constructs a SetSubtreesCommand object.

Parameters

array $subtrees: The toolbar subtrees that will be set.

File

core/modules/toolbar/src/Ajax/SetSubtreesCommand.php, line 25

Class

SetSubtreesCommand
Defines an AJAX command that sets the toolbar subtrees.

Namespace

Drupal\toolbar\Ajax

Code

1
2
3
public function __construct($subtrees) {
  $this->subtrees = $subtrees;
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.