© Preston So 2018
Preston SoDecoupled Drupal in Practicehttps://doi.org/10.1007/978-1-4842-4072-4_22

22. The REST Plug-in System

Preston So1 
(1)
Ridgewood, NY, USA
 

Like many other modules in Drupal, the RESTful Web Services module (see Chapter 7) can be extended with additional resource plug-ins that add new resources to the Drupal core REST API. Because the RESTful Web Services module is part of Drupal core, and because we should not modify Drupal core code under any circumstances, we can add resource plug-ins via a custom module.

For Drupal developers familiar with PHP, the process of creating a custom module, detailed in the first section, will be familiar and can be safely skipped in favor of the subsequent section. For those who are interested ...

Get Decoupled Drupal in Practice: Architect and Implement Decoupled Drupal Architectures Across the Stack now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.