Describe your issue or idea
This is a follow-up to https://github.com/backdrop/backdrop-issues/issues/317#issuecomment-3904... from @quicksketch:
I certainly don't want a label on images most of the time, or on the fields @JayaJayanth listed above, but if I have a bunch of arbitrary (short) textfields, I need the label to tell the difference between them.
My suggestion here would be to:
- Allow each field type to provide a default in hook_field_info() as
default_label_display
.- Specify
<hidden>
as the default for long texts, images, and list fields.- Any field that does not provide a
default_label_display
should use inline.If we later wanted to provide a
default_label_form option
, that could apply to the add/edit forms instead of on display, but we don't have label settings on those forms currently.
Recent comments
Thanks for the guide, let me do just that. I hope there is still a chance of these seeing a backdrop port.
Station and Community Media
The block system and API in Backdrop is very different from Drupal's. In Backdrop, as in Drupal, modules can define blocks in code (in fact some of the API at this level is the same, with...
Drupal block module conversion
This was from examining line 2463- of the webform.module, where // Attach necessary JavaScript and CSS. $form['#attached'] = array( 'css' => array(backdrop_get_path('module', 'webform...
How do I diagnose Webform Conditionals failing?