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

Can't filter content in a View

Posted 2 days 12 hours ago by (geoma) in How-To and Troubleshooting

October 16th 2025 Weekly Meetings

Posted 1 week 6 hours ago by Martin Price | System Horizons Ltd (yorkshirepudding) in Weekly Meetings

Backdrop Live November 2025

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

Recent comments

Glad it works for you! Regarding selecting options, I've just tested the Views Autocomplete Filters module and got it working after I had a look at the README and made sure to use the same...

Posted 1 day 21 hours ago by Olaf Grabienski (Olafski) on:

Can't filter content in a View

You are right, that was it... Now my problem is I would like users being able to select from pre-established options, like a drop down or maybe an autocomplete. For that I would the Autocomplete...

Posted 1 day 23 hours ago by (geoma) on:

Can't filter content in a View

Here goes the screenshot for the exposed filter config I will try the module you are telling me about. thanks again!

Posted 1 day 23 hours ago by (geoma) on:

Can't filter content in a View

Powered by Backdrop CMS

Stay connected

Sign up for our newsletter

Footer Menu

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