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

Update Report thows "Access denied You are not authorized to access this page."

Posted 7 hours 2 min ago by (ian) in How-To and Troubleshooting

Moving from /files into subdirectories

Posted 1 day 1 hour ago by (opentype) in How-To and Troubleshooting

UberPOS for Backdrop?

Posted 2 days 21 hours ago by (Chrys) in How-To and Troubleshooting

Recent comments

Hi ian, so, in your case all the other admin pages work fine, including the status page, only admin/reports/updates fails? But you can access admin/reports? Weird... I...

Posted 6 hours 29 min ago by (indigoxela) on:

Update Report thows "Access denied You are not authorized to access this page."

The File (Field) Paths module should be able to move existing files. I've not tested it, but the module description says: Retroactive updates - rename and/or move...

Posted 22 hours 59 min ago by Olaf Grabienski (Olafski) on:

Moving from /files into subdirectories

Yes indeed. We are exploring a few other more costly options, but as we are a low-resource start-up, we could save a lot of money by integrating Backdrop, CiviCRM and Ubercart for our membership...

Posted 2 days 20 hours ago by (Chrys) on:

UberPOS for Backdrop?

Powered by Backdrop CMS

Stay connected

Sign up for our newsletter

Footer Menu

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