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 1 hour 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 5 hours ago by (ian) in How-To and Troubleshooting

Recent comments

For today's dev meeting: There are a lot of topics for today, but these two would be important: 1. AI policy The draft ist mostly the same as back in May. Any chance, it will...

Posted 1 hour 29 min ago by (indigoxela) on:

Weekly Meetings Sep 24th 2026

Trying to push it to upstream 🤞 https://github.com/drush-ops/drush/pull/6621

Posted 6 days 14 hours ago by (varvashenia) on:

Using Drush 8 with php 8

Wow, thank you! 

Posted 6 days 16 hours ago by (jenlampton) on:

Using Drush 8 with php 8

Powered by Backdrop CMS

Stay connected

Sign up for our newsletter

Footer Menu

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