Can I define fields that do not get stored in a separate table?
Mukesh Agarwal <[email protected]>
| Newsgroups | gmane.comp.php.drupal.devel |
|---|---|
| Message-ID | <CAE55W0uREOTAc+4U-qiNxdRA=6HXR7uToSArFzOZ802yudeKGw@mail.gmail.com> |
I'm using hook_field_info to define my new fields. I need to use this field within a couple of entities and I dont need to have these fields in separate tables. However when I try to define the schema of a field using hook_field_schema I see that I need to mention the columns which means the table for the field will be created when I create an instance of the field with some entity. Is there a way out of this? Can I have my field data in the same table as that of my entity (which is not a node but a custom entity)? -- Cheers, Mukesh Agarwal ________________________________ Innoraft Solutions <http://www.innoraft.com> || +91 8017220799