Custom Drupal 7 Field only saves the first character
问题 I'm essentially trying to create my first field type module using the new Drupal 7 Field API. I've managed to get it to display correctly in the "edit" view. However, when I try to save some data it only saves the first character. Here's the module: <?php function youtubefield_field_info() { return array( 'youtubefield_video' => array( 'label' => t('Youtube video'), 'description' => t('This field stores a youtube video ID and displays the video associated with it'), 'settings' => array( 'max