function asset_wizard_elements in Asset 6
Same name and namespace in other branches
- 5.2 asset_wizard.module \asset_wizard_elements()
Implementation of hook_elements This is where we add the link to textareas
File
- ./
asset_wizard.module, line 138 - Wizard-style interface for Asset.
Code
function asset_wizard_elements() {
$type['textarea'] = array(
'#process' => array(
'asset_wizard_textarea' => array(),
),
);
$type['textfield'] = array(
'#process' => array(
'asset_wizard_textfield' => array(),
),
'#asset_return_type' => FALSE,
'#asset_config' => 'id',
);
$type['assetfield'] = array(
'#input' => TRUE,
'#size' => 10,
);
return $type;
}