Skip to content
Snippets Groups Projects

Issue #3485339 by phjou: Crash when enabling the feature entity_recycle on...

2 files
+ 2
2
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -373,7 +373,7 @@ class EntityRecycleManager implements EntityRecycleManagerInterface {
/**
* {@inheritdoc}
*/
public function setEntityFieldValue(EntityInterface $entity) {
public static function setEntityFieldValue(EntityInterface $entity) {
$entity->get(self::RECYCLE_BIN_FIELD)->value = 0;
$entity->save();
}
Loading