You are here

watchdog.inc in RESTful 7

File

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

$plugin = array(
  'label' => t('Watchdog entries'),
  'resource' => 'watchdog',
  'name' => 'watchdog',
  'data_provider_options' => array(
    'table_name' => 'watchdog',
    'id_column' => 'wid',
  ),
  'description' => t('Expose watchdog entries to the REST API.'),
  'class' => 'RestfulWatchdogResource',
  'authentication_types' => TRUE,
);