Skip to main content
backdrop Backdrop Forum
  • Welcome!
    • Login
    • Register
  • Forum
  • FAQ
  • Following
  • About
  • Wishlist
  1. Home »
  2. [DX] [D8] Add a `validate()` method to entity classes

[DX] [D8] Add a `validate()` method to entity classes

In Drupal 8, classes that are used in order to implement a content entity (which extend the ContentEntityBase class) have a validate() method that validates the values entered when creating the entity.

A similar method should be introduced in Backdrop and added to EntityInterface.

GitHub Link: 
https://github.com/backdrop/backdrop-issues/issues/6061
GitHub Issue #: 
6061

Weekly office hours

Bring your questions to our weekly virtual office hours, every Wednesday. Everyone is welcome.

Recent topics

Write Permission Problems on files, ../private and /tmp on my Laptop

Posted 2 days 15 hours ago by Francis Greaves (themetman) in How-To and Troubleshooting

Disappearing administration bar. Is this a Leaflet or a Backdrop bug?

Posted 3 days 15 hours ago by (Ernst) in How-To and Troubleshooting

CKEditor Inline Images not saved as Permanent in Term descriptions

Posted 4 days 13 hours ago by (samgreco) in How-To and Troubleshooting

Recent comments

@themetman Good to hear your solution. May be helpful for others in the future.

Posted 11 hours 33 min ago by (izmeez) on:

Write Permission Problems on files, ../private and /tmp on my Laptop

It was the ProtectHome setting in the apache service which was the problem. I did this: systemctl edit apache2.service Then added this: [Service]  ProtectHome=no...

Posted 12 hours 46 min ago by Francis Greaves (themetman) on:

Write Permission Problems on files, ../private and /tmp on my Laptop

I don't have leaflet, but I have experienced random disappearances of the bar over the years. I quit spending time on it, but not before adjusting the css spacing, which did reduce the number of...

Posted 2 days 4 hours ago by (DanM) on:

Disappearing administration bar. Is this a Leaflet or a Backdrop bug?

Powered by Backdrop CMS

Stay connected

Sign up for our newsletter

Footer Menu

  • documentation
  • localization
  • events
  • forum
  • backdropcms.org