© 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 
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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.