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

Nonprofit – A Free Theme for Backdrop CMS

Posted 11 hours 13 min ago by (shabib) in Requests and Feedback

innodus (Barcelona) listing – website looks compromised or no longer theirs?

Posted 6 days 14 hours ago by (sM4b) in Requests and Feedback

Formatting Options not sticking

Posted 1 week 1 day ago by (onyx) in How-To and Troubleshooting

Recent comments

It's your best assistant, but don't trust it blindly test everything thoroughly. I think it's also the best teacher if you want to learn programming.

Posted 2 days 10 hours ago by (shabib) on:

Thoughts on AI generated code contrib?

Hi Nombre Apellido We do hosting in the UK and look after a Spanish domain...If no one closer can help, please don't hesitate to reach out. The site I'm creating is for a...

Posted 6 days 10 hours ago by (DrAlbany) on:

innodus (Barcelona) listing – website looks compromised or no longer theirs?

This is Robert's Backdrop profile: https://backdropcms.org/account/robertgarrigos You can see he is very active in Backdrop and very experienced. And this is his company...

Posted 6 days 14 hours ago by Martin Price (yorkshirepudding) on:

innodus (Barcelona) listing – website looks compromised or no longer theirs?

Powered by Backdrop CMS

Stay connected

Sign up for our newsletter

Footer Menu

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