variable__1_0.inc in RESTful 7
File
modules/restful_example/plugins/restful/variable/1.0/variable__1_0.incView source
<?php
$plugin = array(
'label' => t('Variable'),
'description' => t('Expose site variables to the REST API.'),
'resource' => 'variables',
'class' => 'RestfulVariableResource',
'authentication_types' => TRUE,
'render_cache' => array(
'render' => TRUE,
),
);