diff --git a/core/modules/hal/hal.module b/core/modules/hal/hal.module old mode 100644 new mode 100755 index 72e9b86..71bd2fa --- a/core/modules/hal/hal.module +++ b/core/modules/hal/hal.module @@ -2,5 +2,18 @@ /** * @file - * Drupal-required module file for HAL module. + * Adds support for serializing entities to Hypertext Application Language. */ + +/** + * Implements hook_help(). + */ +function hal_help($path, $arg) { + switch ($path) { + case 'admin/help#hal': + $output = ''; + $output .= '

' . t('About') . '

'; + $output .= '

' . t('

Hypermedia APIs are a style of Web API which use URIs to identify resources and the links between them, enabling API consumers to follow links to discover API functionality. Hypertext Application Language (HAL) is a format which supports the linking required for hypermedia APIs. This module adds support for serializing entities to the JSON version of HAL.', array('@link_rel' => 'http://en.wikipedia.org/wiki/Link_relation', '@hal' => 'http://stateless.co/hal_specification.html')) . '

'; + return $output; + } +}