Closed (fixed)
Project:
Token
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
4 Apr 2012 at 23:22 UTC
Updated:
19 Apr 2012 at 02:11 UTC
Jump to comment: Most recent file
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