Skip to content
Snippets Groups Projects

Add accessCheck() to entity query in FieldInheritanceForm.php for Drupal 10 compatibility

1 file
+ 1
0
Compare changes
  • Side-by-side
  • Inline
@@ -529,6 +529,7 @@ class FieldInheritanceForm extends EntityForm {
->getStorage($this->entity->getEntityTypeId())
->getQuery()
->condition('id', $id)
->accessCheck(FALSE)
->execute();
return $return;
}
Loading