You are here

public function RestExampleClientEdit::__construct in Examples for Developers 3.x

File

modules/rest_example/src/Form/RestExampleClientEdit.php, line 28

Class

RestExampleClientEdit
Edit or create a new node on a remote Drupal site.

Namespace

Drupal\rest_example\Form

Code

public function __construct(RestExampleClientCalls $restExampleClientCalls) {
  $this->client = $restExampleClientCalls;
}