You are here

public function ValueUpdatedCommand::__construct in Entity Browser 8

Same name and namespace in other branches
  1. 8.2 src/Ajax/ValueUpdatedCommand.php \Drupal\entity_browser\Ajax\ValueUpdatedCommand::__construct()

Constructor.

Parameters

string $details_id: The ID for the details element.

File

src/Ajax/ValueUpdatedCommand.php, line 25

Class

ValueUpdatedCommand
AJAX command to refresh an entity_browser_entity_reference field widget.

Namespace

Drupal\entity_browser\Ajax

Code

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