Skip to main content
backdrop Forum
  • Forum
  • FAQ
  • Following
  • About
  • Wishlist
  • My account
    • Log In
    • Create an account
  • Try Backdrop CMS
    • Demo Backdrop CMS
    • Download version 1.35.2
    • More ways to try Backdrop
  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 Dec 3rd 2026

Posted 1 day 7 hours ago by (indigoxela) in Weekly Meetings

Improving Theme Presentation and Promoting Backdrop CMS

Posted 1 day 16 hours ago by (shabib) in Initiatives

Your most useful type fields for Paragraphs

Posted 1 week ago by (BKaernel) in Requests and Feedback

Recent comments

I think a good place to start if you have ideas to share a mock-up of what it might look like. What I mean is not creating a new mock-up for the directory page. When we...

Posted 1 day 3 hours ago by (shabib) on:

Improving Theme Presentation and Promoting Backdrop CMS

In case there's time left, three topics for the dev meeting: Simpletest in GH Our testing framework needs some attention. 3 tests constantly failing, but only in GH runners. Not...

Posted 1 day 7 hours ago by (indigoxela) on:

Weekly Meetings Dec 3rd 2026

I think this is a worthwhile discussion. I fully support: Improving theme screenshots and visual presentation on the official Backdrop website. I think a good place to...

Posted 1 day 15 hours ago by Martin Price (yorkshirepudding) on:

Improving Theme Presentation and Promoting Backdrop CMS

Powered by Backdrop CMS

Stay connected

Sign up for our newsletter

Footer Menu

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