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

July 16th, 2026 - Weekly Meetings

Posted 7 hours 25 min ago by (indigoxela) in Weekly Meetings

Cloudflare specific advice needed [SOLVED]

Posted 6 days 11 hours ago by (ian) in How-To and Troubleshooting

July 9th, 2026 - Weekly Meetings

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

Recent comments

If there's some time left after discussing code signing (yay!)... 1. Friendly reminder: usage stats are still broken Didn't data get fetched at all (broken parser) or is it a display...

Posted 7 hours 21 min ago by (indigoxela) on:

July 16th, 2026 - Weekly Meetings

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 4 days 17 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 5 days 3 hours ago by (izmeez) 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