Home ›
Attempt to create an instance of field on forbidden entity type errorAttempt to create an instance of field on forbidden entity type error
Submitted by Benjamin Melançon on May 30, 2011 - 3:03am
Searching for 'Attempt to create an instance of field on forbidden entity type' online actually brought me right to the documentation, which indicated that this error doesn't come from the entity type rejecting the field but the field rejecting the entity type.
http://api.drupal.org/api/drupal/modules--field--field.crud.inc/function/field_create_instance/7
Sure enough, i had a typo in my field definition in hook install.
Comments
Post new comment