Let's try to achieve the same result we got in the previous section, but this time, by using a contributed module called field_group
:
Delete
node--recipe--full.html.twig
inside recipes / templates / content (or move the file outside of the project if you'd prefer to keep a copy of the work) and clear your cache.In command line, navigate to anywhere inside your Drupal project and type the following:
$ drush en field_group -y
This command will enable the
field_group
module if you have it downloaded. If not, it will go ahead and download the latest stable release for you and enable it.Now back in the browser, navigate to
/admin/structure/types/manage/recipe/display
where the display settings for the recipe content type exist. You will see that we have a new piece of functionality at the bottom of the page:Type
preparation
into both the text inputs, select Html element from the dropdown, and hit Save.When the page reloads, you...