function RestExampleClientEdit::__construct

Same name in other branches
  1. 3.x modules/rest_example/src/Form/RestExampleClientEdit.php \Drupal\rest_example\Form\RestExampleClientEdit::__construct()

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;
}