Skip to content

Implement DestructableInterface for State Log

From Drupal 10.3 the decorated Core State service is tagged with needs_destruction and the class implements DestructableInterface accordingly.

This causes usage to the State Log decorator fail as it does not implement destruct() accordingly.

Implement destruct() and pass the call to the decorated state if needed.

This should not make a difference if using Drupal <10.3.

Closes #3501178

Merge request reports

Loading