Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Drupal 8 filed types with descriptions
Label: Comments
Machine name: comment
Descritpion: This field manages configuration and presentation of comments on an entity.
Provider: comment
---
Label: Date
Machine name: datetime
Descritpion: Create and store date values.
Provider: datetime
---
Label: File
Machine name: file
Descritpion: This field stores the ID of a file as an integer value.
Provider: file
---
Label: Image
Machine name: image
Descritpion: This field stores the ID of an image file as an integer value.
Provider: image
---
Label: Link
Machine name: link
Descritpion: Stores a URL string, optional varchar link text, and optional blob of attributes to assemble a link.
Provider: link
---
Label: List (integer)
Machine name: list_integer
Descritpion: This field stores integer values from a list of allowed 'value => label' pairs, i.e. 'Lifetime in days': 1 => 1 day, 7 => 1 week, 31 => 1 month.
Provider: options
---
Label: List (text)
Machine name: list_string
Descritpion: This field stores text values from a list of allowed 'value => label' pairs, i.e. 'US States': IL => Illinois, IA => Iowa, IN => Indiana.
Provider: options
---
Label: List (float)
Machine name: list_float
Descritpion: This field stores float values from a list of allowed 'value => label' pairs, i.e. 'Fraction': 0 => 0, .25 => 1/4, .75 => 3/4, 1 => 1.
Provider: options
---
Label: Path
Machine name: path
Descritpion: An entity field containing a path alias and related data.
Provider: path
---
Label: Text (formatted, long, with summary)
Machine name: text_with_summary
Descritpion: This field stores long text with a format and an optional summary.
Provider: text
---
Label: Text (formatted)
Machine name: text
Descritpion: This field stores a text with a text format.
Provider: text
---
Label: Text (formatted, long)
Machine name: text_long
Descritpion: This field stores a long text with a text format.
Provider: text
---
Label: Language
Machine name: language
Descritpion: An entity field referencing a language.
Provider: core
---
Label: Map
Machine name: map
Descritpion: An entity field for storing a serialized array of values.
Provider: core
---
Label: Email
Machine name: email
Descritpion: An entity field containing an email value.
Provider: core
---
Label: Number (decimal)
Machine name: decimal
Descritpion: This field stores a number in the database in a fixed decimal format.
Provider: core
---
Label: Last changed
Machine name: changed
Descritpion: An entity field containing a UNIX timestamp of when the entity has been last updated.
Provider: core
---
Label: Boolean
Machine name: boolean
Descritpion: An entity field containing a boolean value.
Provider: core
---
Label: UUID
Machine name: uuid
Descritpion: An entity field containing a UUID.
Provider: core
---
Label: Created
Machine name: created
Descritpion: An entity field containing a UNIX timestamp of when the entity has been created.
Provider: core
---
Label: Number (float)
Machine name: float
Descritpion: This field stores a number in the database in a floating point format.
Provider: core
---
Label: Entity reference
Machine name: entity_reference
Descritpion: An entity field containing an entity reference.
Provider: core
---
Label: Number (integer)
Machine name: integer
Descritpion: This field stores a number in the database as an integer.
Provider: core
---
Label: Text (plain)
Machine name: string
Descritpion: A field containing a plain string value.
Provider: core
---
Label: Timestamp
Machine name: timestamp
Descritpion: An entity field containing a UNIX timestamp value.
Provider: core
---
Label: Text (plain, long)
Machine name: string_long
Descritpion: A field containing a long string value.
Provider: core
---
Label: Password
Machine name: password
Descritpion: An entity field containing a password value.
Provider: core
---
Label: URI
Machine name: uri
Descritpion: An entity field containing a URI.
Provider: core
---
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.