You are here

function newsletter_update_7102 in Newsletter 7

Add a text_with_summary field to use with newsletter_template.

File

./newsletter.install, line 657
Contains install,uninstall and update functions for Newsletter module.

Code

function newsletter_update_7102(&$sandbox) {
  $field = array(
    'field_name' => 'field_newsletter_body',
    'type' => 'text_with_summary',
  );
  field_create_field($field);
}