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

Create a new theme - Starter theme

Posted 3 days 11 hours ago by (BKaernel) in How-To and Troubleshooting

missing "add block" in custom layout

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

Unable to run update - fails with Connection timed out

Posted 1 week 3 days ago by (lias) in How-To and Troubleshooting

Recent comments

Thank you for your positive response. I guess English is not your first language but it seems like you found the Devel setting for theme debug where it suggests templates and found that useful. You...

Posted 5 hours 53 min ago by Martin Price | System Horizons Ltd (yorkshirepudding) on:

Create a new theme - Starter theme

Great. I can confirm this fixed the issue. Thanks.

Posted 6 hours 34 min ago by (Ernst) on:

Disappearing administration bar. Is this a Leaflet or a Backdrop bug?

After some hesitation as to how much BACKDROP CMS work is needed to create a custom theme for a website, I am pretty sure that this CMS is a good alternative between DRUPAL(welcome in Symfony)...

Posted 7 hours 11 min ago by (BKaernel) on:

Create a new theme - Starter theme

Powered by Backdrop CMS

Stay connected

Sign up for our newsletter

Footer Menu

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