I have a module that's creating a custom node type. I'm attaching a textarea to this node type. Currently it works, but the text formatting defaults to "Plain Text."
I would like to specify during installation that the field should be set to "Filtered Text," specifically, "Filtered HTML." This seems like something that should be possible when defining the instance of the field, but it's not working.
Here's the instance definition as it stands now:
<?php
// ...more fields above
'release_notes' => array(
'field_name' => 'release_notes',
'type' => 'text_long',
'label' => $t('Notes'),
'description' => $t('Release notes (e.g. liner notes)'),
'widget' => array('type' => 'text_textarea'),
'settings' => array('text_processing ' => '1'), // Filtered HTML...?
'weight' => 9,
),
// ...more fields below
?>
Does anyone have any ideas?
Thanks.