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

Weekly dev meetings to focus on top wish list items start March 26, 2026.

Posted 6 days 11 hours ago by (izmeez) in Weekly Meetings

Commerce modules

Posted 1 week 2 days ago by (Jochen_K) in Requests and Feedback

How often is the settings.php loaded.

Posted 1 week 6 days ago by (spjsche) in Installation Questions

Recent comments

Hi Kevin I am interested assisting you developing a theme by cloning feature from  existing WordPress website.  Please let me know your suitable time to discuss further...

Posted 19 hours 15 min ago by Deep Vyas (deepvyas) on:

Create a theme from existing website

I've updated the Zulip link in both places I found it. No need to post again, unless you have something new to say. We'll pull together feedback from all the sources.

Posted 23 hours 46 min ago by (stpaultim) on:

Backdrop CMS Core Priorities

Should we post here again, what we posted over there? Or would that unnecessarily duplicate things? The link to a Zulip thread in this initial post leads to an internal one, but there's...

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

Backdrop CMS Core Priorities

Powered by Backdrop CMS

Stay connected

Sign up for our newsletter

Footer Menu

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