You are here

public function ResultsCommand::__construct in FullCalendar 8

Same name and namespace in other branches
  1. 8.5 src/Ajax/ResultsCommand.php \Drupal\fullcalendar\Ajax\ResultsCommand::__construct()
  2. 8.2 src/Ajax/ResultsCommand.php \Drupal\fullcalendar\Ajax\ResultsCommand::__construct()
  3. 8.3 src/Ajax/ResultsCommand.php \Drupal\fullcalendar\Ajax\ResultsCommand::__construct()
  4. 8.4 src/Ajax/ResultsCommand.php \Drupal\fullcalendar\Ajax\ResultsCommand::__construct()

Constructs a \Drupal\views\Ajax\ReplaceTitleCommand object.

Parameters

string $data: The form to display in the modal.

File

src/Ajax/ResultsCommand.php, line 22

Class

ResultsCommand
Provides an AJAX command for showing the save and cancel buttons.

Namespace

Drupal\fullcalendar\Ajax

Code

public function __construct($data) {
  $this->data = $data;
}