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

February 26th, 2026 - Weekly Meetings

Posted 52 min 20 sec ago by (indigoxela) in Weekly Meetings

Specific tags to work in CKEditor 5

Posted 1 week 1 day ago by (JugglingCoder) in How-To and Troubleshooting

Hello - Glad to met Backdrop

Posted 2 weeks 1 day ago by (BKaernel) in Requests and Feedback

Recent comments

For our DEV meeting: an older bug needs (and could have) a fix. Issue #5729 - Views: Search Filter: On Empty Input "Show None" option Shows All There are 2 pull requests, but one...

Posted 50 min 54 sec ago by (indigoxela) on:

February 26th, 2026 - Weekly Meetings

Ruby Text can be a bit of a hassle to edit... Yes, I can imagine that. No idea, how an editor dialog (or whatever) for easier editing of those should look like - in terms of...

Posted 5 days 7 hours ago by (indigoxela) on:

Specific tags to work in CKEditor 5

"why are these tags only relevant for admins?"  I'm allowing the editor as well.  That being said, Ruby Text can be a bit of a hassle to edit... easy to accidentally delete a tag or part of a...

Posted 5 days 13 hours ago by (JugglingCoder) on:

Specific tags to work in CKEditor 5

Powered by Backdrop CMS

Stay connected

Sign up for our newsletter

Footer Menu

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