You are here

public function OpenCommand::__construct in Colorbox Load 8

Constructs an OpenCommand object.

Parameters

string $content: The content that will be placed in the colorbox.

File

src/OpenCommand.php, line 25

Class

OpenCommand
Defines an AJAX command to open content in a colorbox.

Namespace

Drupal\colorbox_load

Code

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