You are here

hal_json.inc in RESTful 7

File

plugins/formatter/hal_json/hal_json.inc
View source
<?php

$plugin = array(
  'label' => t('HAL+JSON'),
  'description' => t('Output in using the HAL conventions and JSON format.'),
  'name' => 'hal_json',
  'class' => 'RestfulFormatterHalJson',
  'curie' => array(
    'name' => 'hal',
    'href' => url('docs/rels', array(
      'absolute' => TRUE,
    )) . '/{rel}',
  ),
);