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

Problem of access to the body field with a simple post

Posted 6 hours 49 min ago by (BKaernel) in How-To and Troubleshooting

Small problem with multi import files images.

Posted 14 hours 51 min ago by (BKaernel) in How-To and Troubleshooting

Gallery inside post content

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

Recent comments

Oh thanx ! I had an "old" text format that I had disabled. I re-enabled this format in the field body with the permissions and the field comes back for editing.

Posted 6 hours 25 min ago by (BKaernel) on:

Problem of access to the body field with a simple post

See https://github.com/backdrop/backdrop-issues/issues/7148

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

Problem of access to the body field with a simple post

I used the theme gin for admin. Perhaps, it's the problem ? I have a color border when i selected the images and of course i used the "ctrl" key.

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

Small problem with multi import files images.

Powered by Backdrop CMS

Stay connected

Sign up for our newsletter

Footer Menu

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