/[drupal]/contributions/modules/inline/inline.api.php
ViewVC logotype

Contents of /contributions/modules/inline/inline.api.php

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download) (as text)
Sat Aug 8 06:32:40 2009 UTC (3 months, 2 weeks ago) by sun
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/x-php
#80170 by sun, smk-ka: Major rewrite for Inline API.
1 <?php
2 // $Id: inline.module,v 1.35 2009/01/28 21:43:05 sun Exp $
3
4 /**
5 * @file
6 * Inline API documentation.
7 */
8
9 /**
10 * Implementation of hook_inline_info().
11 *
12 * @return
13 * An associative array of inline tags provided by this module, keyed by tag
14 * name with the following properties:
15 * - callback: (optional) The inline callback function name. Defaults to
16 * MODULENAME_TAGNAME_inline().
17 * - file: (optional) The include file where callback function resides.
18 * - path: (optional) The path of the include file. Defaults to the module's
19 * directory.
20 */
21 function hook_inline_info() {
22 $info['node'] = array(
23 'file' => 'inline.node.inc',
24 );
25 if (module_exists('upload')) {
26 $info['upload'] = array(
27 'file' => 'inline.upload.inc',
28 );
29 }
30 return $info;
31 }
32

  ViewVC Help
Powered by ViewVC 1.1.2