function RestExampleClientEdit::create

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

Overrides FormBase::create

File

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

Class

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

Namespace

Drupal\rest_example\Form

Code

public static function create(ContainerInterface $container) {
    return new static($container->get('rest_example_client_calls'));
}