All plugins in Drupal\plugin\Plugin\DataType have the following todo:

  // @todo Stop using this once https://www.drupal.org/node/2615790 is fixed.
  use DependencySerializationTrait;

#2615790: Field item properties do not prevent the services they contain from being serialized landed a month ago, so the module can enforce a minimum core version (8.0.5) and remove the trait.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

bojanz created an issue. See original summary.

Xano’s picture

Status: Active » Needs review
FileSize
2.05 KB
Xano’s picture

  • Xano committed b717b37 on 8.x-2.x
    Issue #2693553 by Xano: Remove DependencySerializationTrait from...
Xano’s picture

Status: Needs review » Fixed

Thanks for reporting this!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.