protected function SyncCoreEntityListResource::respondWith in CMS Content Sync 2.0.x
Same name and namespace in other branches
- 2.1.x src/Plugin/rest/resource/SyncCoreEntityListResource.php \Drupal\cms_content_sync\Plugin\rest\resource\SyncCoreEntityListResource::respondWith()
2 calls to SyncCoreEntityListResource::respondWith()
- SyncCoreEntityListResource::get in src/
Plugin/ rest/ resource/ SyncCoreEntityListResource.php - SyncCoreEntityListResource::returnError in src/
Plugin/ rest/ resource/ SyncCoreEntityListResource.php
File
- src/
Plugin/ rest/ resource/ SyncCoreEntityListResource.php, line 289
Class
- SyncCoreEntityListResource
- Provides entity interfaces for Content Sync, allowing Sync Core v2 to list entities.
Namespace
Drupal\cms_content_sync\Plugin\rest\resourceCode
protected function respondWith($body, $status) {
return new ModifiedResourceResponse($body, $status);
}