Skip to content
This repository was archived by the owner on Jun 13, 2019. It is now read-only.

Missing 'title' for entry transformer #7

Open
alexbrindalsl opened this issue Jan 8, 2016 · 0 comments
Open

Missing 'title' for entry transformer #7

alexbrindalsl opened this issue Jan 8, 2016 · 0 comments

Comments

@alexbrindalsl
Copy link

Hey there,
Seems like a simple one, but entries don't currently have access to the title variable. I couldn't see anyway to 'include' title through get requests.

I just added 'title' => ($element->title) ? $element->title : null, to about line 36 of /src/Transformers/EntryTransformer.php.

Perhaps there's a more thorough way to do this?

Cheers,
Alex

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

No branches or pull requests

1 participant