public function SettingsCommand::render

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

Overrides CommandInterface::render

File

drupal/core/lib/Drupal/Core/Ajax/SettingsCommand.php, line 60
Definition of 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,
  );
}