I created a new entity and added a few base fields using baseFieldDefinitions(). Everything works fine so far. The problem is that I would like on this entity to have a field with special storage ( outside of what baseFieldDefinitions() seems to be able to handle ). I want this new field to use the 'point' spatial data type.
Is this possible? If so, it is done via the Typed Data API?
I know that this is vague but I'm trying to get a grasp on these concepts and any pointers will be greatly appreciated.
mysql_type
or your database you are using for supported record types. api.drupal.org/api/drupal/… - note that you might have to do special handling for say, Views fields and filters, as well as provide a FieldFormatter and FieldWidget to display and capture form data.