I set up a content type of example with custom fields. How can I get the field values to show in my twig template? I have tried {{ content.field_formattext‎ }} and that doesn't display anything.

  • Have you added your new fields to the display on the content type's Manage Display page? – sonfd Jul 11 at 10:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.