1

When using REST export view, and Fields format, under Settings I can change alias for each field.

How can I do the same with code?

1 Answer 1

0

You can create a ViewsField Plugin with the custom module and name whatever you want.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.