Exercise (Entity types, Fields and Taxonomy)

Exercise

1. Create two taxonomy vocabularies

Create a “Blog categories” vocabulary and add the following terms:

  • Drupal
  • Joomla
  • WordPress

Create a “Listing categories” vocabulary and add the following terms:

  • Banking
  • Information technology
  • Marketing

2. Create Blog content type

Add the following fields:

  • Body (Text (formatted, long, with summary))
  • Featured image (Media)
  • Tags (Entity reference)
  • Blog categories (Entity reference)
  • Comments (Comments)

3. Create Listing content type

Add the following fields:

  • Body (Text (formatted, long, with summary))
  • Logo (Media)
  • Listing categories (Entity reference)
  • Email (Email)
  • Website (Link)
Scroll to Top