Can't get Entity properties

Created on 17 July 2013, almost 12 years ago
Updated 6 June 2025, 6 days ago

Hi,
I get the fields of an entity but I don't get the properties.
How do I also get the entity properties?

💬 Support request
Status

Needs review

Version

1.1

Component

Documentation

Created by

🇧🇪Belgium BruFFy

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇪🇪Estonia ram4nd Tallinn

    As joachim points out:

    There's no system in Drupal or Entity API to determine which of an entity's properties appear in the form, or how to present them.

    The patch allows you to add custom form fields for existing properties and saves them. Improved the code snippet in readme, so there is an example.

  • 🇪🇪Estonia ram4nd Tallinn
  • 🇬🇧United Kingdom joachim

    > There's no system in Drupal or Entity API to determine which of an entity's properties appear in the form, or how to present them.

    That was 13 years ago though!

    There IS that in D8+! :)

  • 🇪🇪Estonia ram4nd Tallinn

    Still 238,776 sites using D7.

Production build 0.71.5 2024