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.1
    • 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 8 hours 45 min ago by (aubergine) in How-To and Troubleshooting

Hiding Blocks for Small Screens

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

How to troubleshoot interactive image cropping modules?

Posted 3 days 16 hours ago by Jim Bisset (Jim) in How-To and Troubleshooting

Recent comments

Hi Francis I think most browsers have become more aggressive about caching images (and other files - I recently had a real pain getting Chrome to re-read the .htaccess file) locally. If...

Posted 18 hours 8 min ago by Martin Price (yorkshirepudding) on:

Images on Pages and Blocks not refreshing

Well here I am 7 years later with the same problem which I have been living with all that time. I am using the Brave and Firefox Browsers to test this being a Linux User. I have gone over...

Posted 18 hours 37 min ago by Francis Greaves (themetman) on:

Images on Pages and Blocks not refreshing

OMG thank u... you are amazing.

Posted 2 days 2 hours ago by Elle (Princess Nettles) on:

Hiding Blocks for Small Screens

Powered by Backdrop CMS

Stay connected

Sign up for our newsletter

Footer Menu

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