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

Unable to run update - fails with Connection timed out

Posted 51 min 49 sec ago by (lias) in How-To and Troubleshooting

Write Permission Problems on files, ../private and /tmp on my Laptop

Posted 3 days 23 hours ago by Francis Greaves (themetman) in How-To and Troubleshooting

Disappearing administration bar. Is this a Leaflet or a Backdrop bug?

Posted 4 days 23 hours ago by (Ernst) in How-To and Troubleshooting

Recent comments

It was the ProtectHome setting in the apache service which was the problem. I did this: systemctl edit apache2.service Then added this: [Service]  ProtectHome=no...

Posted 1 day 6 hours ago by Francis Greaves (themetman) on:

Write Permission Problems on files, ../private and /tmp on my Laptop

@themetman Good to hear your solution. May be helpful for others in the future.

Posted 1 day 19 hours ago by (izmeez) on:

Write Permission Problems on files, ../private and /tmp on my Laptop

I don't have leaflet, but I have experienced random disappearances of the bar over the years. I quit spending time on it, but not before adjusting the css spacing, which did reduce the number of...

Posted 3 days 12 hours ago by (DanM) on:

Disappearing administration bar. Is this a Leaflet or a Backdrop bug?

Powered by Backdrop CMS

Stay connected

Sign up for our newsletter

Footer Menu

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