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 [SOLVED]

Posted 3 days 14 hours ago by (ian) in How-To and Troubleshooting

July 9th, 2026 - Weekly Meetings

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

Let users search for NIDs?

Posted 1 week 2 hours ago by (opentype) in How-To and Troubleshooting

Recent comments

Sorry - it is the field_group module. However, last night I switched off proxying to the site and proved to Cloudflare Support that it was NOT a Backdrop issue. After a thorough...

Posted 1 day 19 hours ago by (ian) on:

Cloudflare specific advice needed [SOLVED]

@ian I am getting lost what module are you using that is version 1.x-1.6.0 and 1.x-1.7.0 ?

Posted 2 days 5 hours ago by (izmeez) on:

Cloudflare specific advice needed [SOLVED]

I'm also now getting a 403 when trying to access admin/reports/updates - it seems to be Backdrop generated but there is nothing in the Recent Log messages other than my login as admin...

Posted 2 days 13 hours ago by (ian) on:

Cloudflare specific advice needed [SOLVED]

Powered by Backdrop CMS

Stay connected

Sign up for our newsletter

Footer Menu

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