/[drupal]/contributions/modules/drutex/contrib/drutex_example.inc
ViewVC logotype

Diff of /contributions/modules/drutex/contrib/drutex_example.inc

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

revision 1.2, Wed Sep 6 02:25:41 2006 UTC revision 1.2.8.1, Mon Nov 17 09:05:37 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id$  // $Id: drutex_example.inc,v 1.2 2006/09/06 02:25:41 dfg Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 15  function drutex_example_info($format = - Line 15  function drutex_example_info($format = -
15    return (object) array(    return (object) array(
16      'title' => t('Exampe submodule'),      'title' => t('Exampe submodule'),
17      'description' => t('Provides some senseless stuff.'),      'description' => t('Provides some senseless stuff.'),
18      'toggle' => true, /* tells drutex if the user can activate/deactivate this submodule */      'toggle' => TRUE, /* tells drutex if the user can activate/deactivate this submodule */
19      'weight' => 20 /* helps ordering the fieldsets on the configuration page */      'weight' => 20 /* helps ordering the fieldsets on the configuration page */
20    );    );
21  }  }
# Line 24  function drutex_example_info($format = - Line 24  function drutex_example_info($format = -
24   * Implementation of subhook_defaults().   * Implementation of subhook_defaults().
25   */   */
26  function drutex_example_defaults() {  function drutex_example_defaults() {
27    $D['drutex_blahtex_active'] = false;    $D['drutex_blahtex_active'] = FALSE;
28    $D['drutex_example_sometext'] = 'This is the default text for drutex_example_sometext_$format.';    $D['drutex_example_sometext'] = 'This is the default text for drutex_example_sometext_$format.';
29    
30    return $D;    return $D;

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.2.8.1

  ViewVC Help
Powered by ViewVC 1.1.2