function message_update_7002 in Message 7
Update the message type text field to have text processing.
File
- ./
message.install, line 301 - Install, update, and uninstall functions for the message module.
Code
function message_update_7002() {
$instance = array(
'field_name' => MESSAGE_FIELD_MESSAGE_TEXT,
'bundle' => 'message_type',
'entity_type' => 'message_type',
'label' => t('Message text'),
'description' => t('This is the text of all messages of this type.'),
'required' => TRUE,
'settings' => array(
'text_processing' => 1,
),
);
field_update_instance($instance);
}