public function ActionLinkFlashCommand::__construct in Flag 8.4
Construct a message Flasher.
Parameters
string $selector: Identifies the action link to be flashed.
string $message: The message to be displayed.
File
- src/
Ajax/ ActionLinkFlashCommand.php, line 38
Class
- ActionLinkFlashCommand
- Flash a message as an action link is updated.
Namespace
Drupal\flag\AjaxCode
public function __construct($selector, $message) {
$this->selector = $selector;
$this->message = $message;
}