tableau-mkt-archived / entity_xliff

Drupal module that provides an API for entity serialization in the XLIFF format.
https://drupal.org/project/entity_xliff
2 stars 0 forks source link

Workbench moderation hook not being called #111

Closed iamEAP closed 8 years ago

iamEAP commented 8 years ago

Problem / motivation

With workbench moderation installed, the "current" revision is no longer being pulled during XLIFF export--only the "live" revision.

Proposed resolution

Issue is that, in many workflows, the custom Entity XLIFF module includes have not yet been included.

Short term, we should add the include call before the alter call in the TranslatableFactory. Mid-term, we should run all Entity XLIFF hooks through a special hook executor that does this include for us (then we can kill all the spurious calls to the include method).