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

Weekly Meetings Sep 24th 2026

Posted 19 hours 31 min ago by (indigoxela) in Weekly Meetings

Backdrop Live October 2026

Posted 1 week 2 days ago by Martin Price | System Horizons Ltd (yorkshirepudding) in Meet-Ups and Events

custom module not showing up in modules list

Posted 2 weeks 23 hours ago by (ian) in How-To and Troubleshooting

Recent comments

Other possible agenda: Get rid of (or be active on?) social feeds.  X, mastadon, facebook.  Bluesky doesn't load for me.

Posted 10 hours 17 min ago by (swampopus) on:

Weekly Meetings Sep 24th 2026

Possible agenda item:  For docs.borg, maybe the non-code syntax related documentation and policies should go under a new "Organization Policies" section?  Not the most pressing or exciting idea...

Posted 13 hours 48 sec ago by (swampopus) on:

Weekly Meetings Sep 24th 2026

For reference on #2, I did open an all-encompassing issue for the technical side (I haven't had time to work on it yet): https://github.com/backdrop-ops/backdropcms.org/issues/1107 As for...

Posted 13 hours 5 min ago by (swampopus) on:

Weekly Meetings Sep 24th 2026

Powered by Backdrop CMS

Stay connected

Sign up for our newsletter

Footer Menu

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