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

How to track when a field was last updated?

Posted 1 day 6 hours ago by (stpaultim) in How-To and Troubleshooting

Update 1.35.1 appears to install but hasn't

Posted 1 week 3 days ago by (clarkac) in How-To and Troubleshooting

Weekly Meetings Sep 24th 2026

Posted 1 week 5 days ago by (indigoxela) in Weekly Meetings

Recent comments

Yes, I forgot to add the link. I added it in the original message and will add it here. https://github.com/stpaultim/field_change_log

Posted 9 hours 17 min ago by (stpaultim) on:

How to track when a field was last updated?

Did you forget to add a link?

Posted 1 day 4 hours ago by Martin Price | System Horizons Ltd (yorkshirepudding) on:

How to track when a field was last updated?

Here is a sample module that does the required task.  https://github.com/stpaultim/field_change_log I'm still working on it and testing it. But, initial tests are good. ...

Posted 1 day 5 hours ago by (stpaultim) on:

How to track when a field was last updated?

Powered by Backdrop CMS

Stay connected

Sign up for our newsletter

Footer Menu

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