drupal-field-api Questions

3

I created a custom module for Drupal 8 that allows the users to choose a Content type in order to add some fields programmatically. How I can create some fields (text type in this case) and attach ...
Steelhead asked 13/12, 2015 at 14:29

1

I'm trying to create a new custom field formatter for text fields but nothing is showing at all. I tried un-installing and re-installing the module and flushed the cache many times, and nothing wo...

1

Solved

I'm using the Drupal 7 field API, which seems great: I can add a custom field for the 'user' entity type, and edit in the GUI. I use field_get_items($entity_type, $entity, $field) to get the cust...
Abominable asked 7/4, 2012 at 15:0

3

Solved

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 i...
Bulb asked 21/6, 2011 at 13:48
1

© 2022 - 2024 — McMap. All rights reserved.