FileField paths has a use case for accessing the properties of $file->original from in hook_file_presave(). Let's make it easy and provide an [entity:original] chained token for all entity types.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | 1515776-entity-original-token.patch | 3 KB | dave reid |
| #5 | 1515776-entity-original-token.patch | 3.51 KB | dave reid |
| #3 | 1515776-entity-original-token.patch | 3.5 KB | dave reid |
| #1 | 1515776-entity-original-token.patch | 3.5 KB | dave reid |
Comments
Comment #1
dave reidComment #3
dave reidComment #5
dave reidThis one looks like it will work.
Comment #6
dave reidComment #7
dave reidCommitted with http://drupalcode.org/project/token.git/commit/9408560