You are here

class FancyLoginClosePopupCommand in Fancy Login 8.2

Same name and namespace in other branches
  1. 3.0.x src/Ajax/FancyLoginClosePopupCommand.php \Drupal\fancy_login\Ajax\FancyLoginClosePopupCommand

Defines the popup ajax command.

Hierarchy

Expanded class hierarchy of FancyLoginClosePopupCommand

1 file declares its use of FancyLoginClosePopupCommand
fancy_login.module in ./fancy_login.module
Holds hooks for the Fancy Login module.

File

src/Ajax/FancyLoginClosePopupCommand.php, line 10

Namespace

Drupal\fancy_login\Ajax
View source
class FancyLoginClosePopupCommand implements CommandInterface {

  /**
   * {@inheritdoc}
   */
  public function render() {
    return [
      'command' => 'fancyLoginClosePopup',
    ];
  }

}

Members

Namesort descending Modifiers Type Description Overrides
FancyLoginClosePopupCommand::render public function Return an array to be run through json_encode and sent to the client. Overrides CommandInterface::render