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

Problems with HTML content and text formats

Posted 16 hours 2 min ago by (beckdalecreative) in Installation Questions

Language negotiation only working when logged in

Posted 4 days 18 hours ago by (redjives) in How-To and Troubleshooting

How to monetize a Backdrop site

Posted 1 week 2 days ago by (Ph882) in How-To and Troubleshooting

Recent comments

Sorry, it did seem confusing when I read it back... So if I add some html to a text field, for example in a page or a block, whatever the text format of the field may be (raw html or basic...

Posted 10 hours 26 min ago by (beckdalecreative) on:

Problems with HTML content and text formats

Could you please post clear, step by step instructions to reproduce the problem? Your first message refers to HTML content, and your second to text formats. Please add details to reproduce each...

Posted 14 hours 11 min ago by Alejandro Cremaschi (argiepiano) on:

Problems with HTML content and text formats

Just confirmed that this issue is happening when I install backdrop via ftp. It's not possible for me to add or edit and text formats, even if ckeditor is disabled. This is a clean install...

Posted 15 hours 19 min ago by (beckdalecreative) on:

Problems with HTML content and text formats

Powered by Backdrop CMS

Stay connected

Sign up for our newsletter

Footer Menu

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