Defines an AJAX command that sets the toolbar subtrees.
Hierarchy
- class \Drupal\toolbar\Ajax\SetSubtreesCommand implements CommandInterface
File
- core/modules/toolbar/src/Ajax/SetSubtreesCommand.php, line 10
Namespace
Drupal\toolbar\Ajax
Members
| Name | Modifiers | Type | Description |
|---|---|---|---|
| SetSubtreesCommand::$subtrees | protected | property | The toolbar subtrees. |
| SetSubtreesCommand::render | public | function | Return an array to be run through json_encode and sent to the client. Overrides CommandInterface::render |
| SetSubtreesCommand::__construct | public | function | Constructs a SetSubtreesCommand object. |
Please login to continue.