You are here

public function RefreshResponsive::render in Bootstrap Styles 1.0.x

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

Overrides CommandInterface::render

File

src/Ajax/RefreshResponsive.php, line 60

Class

RefreshResponsive
AJAX command for invoking an arbitrary jQuery method.

Namespace

Drupal\bootstrap_styles\Ajax

Code

public function render() {
  return [
    'command' => 'bs_refresh_responsive',
    'selector' => $this->selector,
    'method' => NULL,
    'data' => $this->data,
  ];
}