Configure Drupal for the Connector
Before you can use the connector, you must enable REST services in your Drupal instance, and configure a view that the connector can use to retrieve data.
To configure your Drupal instance for the connector
-
Open a web browser and navigate to the
/admin/modules
page on your Drupal instance.- Enable RESTful Web Services.
- Enable REST UI.
- Enable HTTP Basic Authentication.
-
Navigate to the
/admin/config/services/rest
page on your Drupal instance. Allow GET access for the "node", "user", "media", and "taxonomy term" types, with basic_auth authentication and JSON response format. -
Create a view that the connector can use to find the top-level entities, from which it can start processing.
- Navigate to the
/admin/structure/views
page on your Drupal instance. -
Click Add view.
The Add view page opens.
-
In the View settings area, ensure the configuration matches the following:
Show Content of type (followed by the types you require)
- In the REST export settings area, select the Provide a REST export check box and specify a URI. You will need this URI when you configure the connector.
- Click Save and edit.
-
In the Filter Criteria area, click Add and add the setting:
Content: Default translation (= True)
-
In the Path Settings area, ensure that the view can be accessed with basic_auth authentication.
-
Click Save.
- Navigate to the