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

Cloudflare specific advice needed

Posted 9 hours 38 min ago by (ian) in How-To and Troubleshooting

July 9th, 2026 - Weekly Meetings

Posted 3 days 4 hours ago by Martin Price | System Horizons Ltd (yorkshirepudding) in Weekly Meetings

Let users search for NIDs?

Posted 3 days 22 hours ago by (opentype) in How-To and Troubleshooting

Recent comments

@ian Let's try to stay on the rails here. As the project page, https://backdropcms.org/project/bee, says: "Bee is a command line utility for Backdrop CMS." It is equivalent to drush. It is not...

Posted 57 min 55 sec ago by (izmeez) on:

Cloudflare specific advice needed

Now, now calm down! :) I based my statement "Since Bee doesn't seem to have any active sites using it - I wonder if that is a viable option?" on the following: Note active installs...

Posted 4 hours 7 min ago by (ian) on:

Cloudflare specific advice needed

Since Bee doesn't seem to have any active sites using it - I wonder if that is a viable option? What do you mean by that? Loads of sites use it but it is not a module, rather...

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

Cloudflare specific advice needed

Powered by Backdrop CMS

Stay connected

Sign up for our newsletter

Footer Menu

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