You are here

public function SettingsCommand::render in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Ajax/SettingsCommand.php \Drupal\Core\Ajax\SettingsCommand::render()

Implements Drupal\Core\Ajax\CommandInterface:render().

Overrides CommandInterface::render

File

core/lib/Drupal/Core/Ajax/SettingsCommand.php, line 60
Contains \Drupal\Core\Ajax\SettingsCommand.

Class

SettingsCommand
AJAX command for adjusting Drupal's JavaScript settings.

Namespace

Drupal\Core\Ajax

Code

public function render() {
  return array(
    'command' => 'settings',
    'settings' => $this->settings,
    'merge' => $this->merge,
  );
}