Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File reference fields should be treated as struct #37

Open
argiepiano opened this issue Jun 5, 2022 · 1 comment · May be fixed by #38
Open

File reference fields should be treated as struct #37

argiepiano opened this issue Jun 5, 2022 · 1 comment · May be fixed by #38

Comments

@argiepiano
Copy link
Collaborator

argiepiano commented Jun 5, 2022

Since Entity Plus defines file fields as structures with properties file, display and description, (see entity_plus_property_field_item_file_info()), Entity Tokens should treat those fields as struct as well. To drill into the file simply use [node:field_file:file:XXX] and replace XXX by a property of the file entity defined by Entity Plus, like url or mime.

argiepiano added a commit to argiepiano/entity_token that referenced this issue Jun 5, 2022
@argiepiano argiepiano linked a pull request Jun 5, 2022 that will close this issue
@argiepiano
Copy link
Collaborator Author

PR #38

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant