Instance parameter for drupal field_create_instance($instance)
The code in chapter 7 of pro Drupal development has a bug.
The $instance array that you need to pass to field_create_instance() needs to be as below.
Technical information on this site may be out of date : no updates since 2015
The code in chapter 7 of pro Drupal development has a bug.
The $instance array that you need to pass to field_create_instance() needs to be as below.