| 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 |
| 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 |
} |
} |
| 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; |