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

November 20th 2025 Weekly Meetings

Posted 10 hours 41 min ago by Martin Price | System Horizons Ltd (yorkshirepudding) in Weekly Meetings

New here — excited to learn more about Backdrop CMS

Posted 6 days 3 hours ago by Emdadul Huq (emdadulhuq) in Other

I need to understand how active and staging folders work – configuration management

Posted 6 days 9 hours ago by (paucku) in How-To and Troubleshooting

Recent comments

Re PHP 8.5 compatibility: not ready yet for review, but tests are passing now. So, still work in progress with issue #7008.

Posted 4 hours 16 min ago by (indigoxela) on:

November 20th 2025 Weekly Meetings

This issue in the API module is blocking any upgrade of docs.backdropcms.org to later PHP versions.  I had a look but not sure how this can be fixed: https://github.com/backdrop-contrib...

Posted 8 hours 25 min ago by Martin Price | System Horizons Ltd (yorkshirepudding) on:

November 20th 2025 Weekly Meetings

The number of questions about lost configurations support my argument. Who knows how many developers use version control systems... UPDATE: The option to store in a database was added...

Posted 8 hours 25 min ago by (Enthusiast) on:

I need to understand how active and staging folders work – configuration management

Powered by Backdrop CMS

Stay connected

Sign up for our newsletter

Footer Menu

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