Top "Drupal-fields" questions

Fields are custom data that can be attached to Drupal entities.

Drupal 8, get programmatically the list of fields of a custom content

I want create programmatically a custom content (custom content created via the admin UI). But, before the creation, I want …

drupal-8 drupal-nodes drupal-fields
Drupal Views combine 2 columns into 1?

I've got two content types, both have a node title and a document attachment, the doc attachment fields are different …

drupal views union drupal-fields
Reading node field values in drupal7 programmatically

I am looking for the best way to get a field value from a node id. My actually code works …

drupal drupal-7 drupal-fields
Drupal 8, add an image field from a BuildForm with preview

I created a custom form from a buildForm function. In this form, I would like add an image field. I …

drupal-forms drupal-8 drupal-fields
Drupal 8 create field programmatically

I created a custom module for Drupal 8 that allow the users to choose a Content type in order add some …

drupal drupal-8 drupal-fields drupal-field-api
How to display and hide Drupal 7 fields, based on value of a specific field

What I am trying to do here is controlling how a group of fields are showing up on node view. …

drupal drupal-7 cck drupal-fields