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

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

Posted 13 hours 41 min ago by (sM4b) in Requests and Feedback

Formatting Options not sticking

Posted 2 days 6 hours ago by (onyx) in How-To and Troubleshooting

Portfolio — A Free Portfolio Theme for Backdrop CMS

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

Recent comments

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 9 hours 26 min 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 13 hours 28 min ago by Martin Price (yorkshirepudding) on:

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

Thanks for the report. I will unpublish it. Robert Garrigos is based in Spain and can probably help. I will ping him and point him here.

Posted 13 hours 35 min 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