function RestExampleClientDelete::create

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

Overrides FormBase::create

File

modules/rest_example/src/Form/RestExampleClientDelete.php, line 37

Class

RestExampleClientDelete
Delete 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'));
}