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

How to upload js and gz files

Posted 4 days 2 hours ago by (aubergine) in How-To and Troubleshooting

Hiding Blocks for Small Screens

Posted 6 days 4 hours ago by Elle (Princess Nettles) in How-To and Troubleshooting

How to troubleshoot interactive image cropping modules?

Posted 1 week ago by Jim Bisset (Jim) in How-To and Troubleshooting

Recent comments

Make sure it's a file field and enter the allowed file types, e.g.:

Posted 3 hours 6 min ago by RS Snyder (theflightrs) on:

How to upload js and gz files

Wow, that sounds awful... So maybe it's not even related to other modules, but some... cache problem somewhere? Be it browser or server-side? A Heisenbug. 

Posted 8 hours 17 min ago by (indigoxela) on:

How to troubleshoot interactive image cropping modules?

It remains a complete mystery. I started enabling other modules on my clean install and boom - off it went again. Of course, removing those modules didn’t make any difference so I couldn’t...

Posted 9 hours 12 min ago by Jim Bisset (Jim) on:

How to troubleshoot interactive image cropping modules?

Powered by Backdrop CMS

Stay connected

Sign up for our newsletter

Footer Menu

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