You are here

node_user__1_0.inc in RESTful 7

File

modules/restful_example/plugins/restful/db_query/node_user/1.0/node_user__1_0.inc
View source
<?php

$plugin = array(
  'label' => t('Content and author'),
  'resource' => 'node_user',
  'name' => 'node_user__1_0',
  'data_provider_options' => array(
    'table_name' => 'node',
    'id_column' => 'nid',
  ),
  'description' => t('Expose the content along with the author name.'),
  'class' => 'RestfulExampleNodeUserResource',
);