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

December 18th, 2025 - Weekly Meetings

Posted 2 days 12 hours ago by (indigoxela) in Weekly Meetings

Animating the header links

Posted 6 days 19 hours ago by (NexViolentus) in How-To and Troubleshooting

Github Tips and Tricks for Contrib Maintainers

Posted 1 week 20 hours ago by (stpaultim) in How-To and Troubleshooting

Recent comments

Perhaps, these latest lines of random test failures can be considered in the meeting too?

Posted 2 days 6 hours ago by Martin Price | System Horizons Ltd (yorkshirepudding) on:

December 18th, 2025 - Weekly Meetings

There are some test failures in the user module after merging in the latest commits. Randomly, only in one PHP version - and always a different one. See also this Zulip...

Posted 2 days 6 hours ago by (indigoxela) on:

December 18th, 2025 - Weekly Meetings

Two issues would benefit from testing and code reviews; they've been around for a while and no takers. It would be a shame for these to miss the next releases. View Table Headings...

Posted 2 days 9 hours ago by Martin Price | System Horizons Ltd (yorkshirepudding) on:

December 18th, 2025 - Weekly Meetings

Powered by Backdrop CMS

Stay connected

Sign up for our newsletter

Footer Menu

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