Class: Views

Views

new Views(path)

The Views constructor.
Parameters:
Name Type Description
path String The path to the Views REST Export in Drupal.
Source:

Methods

getPath() → {String}

Returns the path to the rest export.
Source:
Returns:
Type
String

getResults() → {*}

Returns the results, if any.
Source:
Returns:
Type
*

getView() → {Promise}

Retrieves the Views' results from the Drupal site's rest export.
Source:
Returns:
Type
Promise