You are here

public function SetHashCommand::__construct in Feeds 8.3

Constructs a SetHashCommand object.

Parameters

string $hash: The hash that will be loaded into window.hash.

File

src/Ajax/SetHashCommand.php, line 25

Class

SetHashCommand
Defines an AJAX command to set the window.hash.

Namespace

Drupal\feeds\Ajax

Code

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