class DismissFormCommand

Provides an AJAX command for closing the views form modal.

This command is implemented in Drupal.AjaxCommands.prototype.viewsDismissForm.

Hierarchy

Expanded class hierarchy of DismissFormCommand

File

drupal/core/modules/views/lib/Drupal/views/Ajax/DismissFormCommand.php, line 17
Contains \Drupal\views\Ajax\DismissFormCommand.

Namespace

Drupal\views\Ajax
View source
class DismissFormCommand implements CommandInterface {

  /**
   * Implements \Drupal\Core\Ajax\CommandInterface::render().
   */
  public function render() {
    return array(
      'command' => 'viewsDismissForm',
    );
  }

}

Members