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

CKEditor Inline Images not saved as Permanent in Term descriptions

Posted 20 hours 26 min ago by (samgreco) in How-To and Troubleshooting

Problems with HTML content and text formats

Posted 1 week 2 days ago by (beckdalecreative) in Installation Questions

Language negotiation only working when logged in

Posted 1 week 6 days ago by (redjives) in How-To and Troubleshooting

Recent comments

I am having the same problem trying to update from 1.33.2 to 1.34.0 Error: Class 'CoreUpdater' not found in installer_authorize_batch_copy_project()

Posted 32 min 37 sec ago by (ytsejam) on:

Error: Class "ModuleUpdater" not found

I adjusted the subject slightly.

Posted 19 hours 47 min ago by laryn (laryn) on:

CKEditor Inline Images not saved as Permanent in Term descriptions

It looks like it's a known issue with a PR. You might want to test this PR and respond in the issue itself.

Posted 19 hours 48 min ago by laryn (laryn) on:

CKEditor Inline Images not saved as Permanent in Term descriptions

Powered by Backdrop CMS

Stay connected

Sign up for our newsletter

Footer Menu

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