ra_client

Component ID

2789769

Component name

ra_client

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

Ra Framework client API for Drupal 8

Synopsis

Provides Ra Framework client API.

Implementation emerap/ra_client library for Drupal 8.

ra.client.yml file

Create file [MODULE_NAME].ra.client.yml inside module directory.

YAML example.

source_id:
    path: 'http://emerap.com/ra/method'

Php example


use Drupal
a_clientRaClient;

...

// Drupal
a_clientRaClient instance
$client = new RaClient('emerap');

// Get all available methods.
$methods = $client->query('ra.methods')->getRaw();