How to build website with Drupal 8 – Content

This is in continuation to my earlier articles about Drupal 8 wherein Drupal 8 configuration, Drupal 8 Extension, Drupal 8 Appearance and Drupal 8 User management has been discussed. Now two important things for Drupal 8 website development i.e Drupal 8 Content and Drupal 8 Structure need to be understood. As the name suggest Drupal Structure section gives lot of options for website design. We will discuss Drupal 8 Structure in next article. In this article I just like to discuss Drupal 8 Content.

Drupal 8 content

What is Drupal 8 Content

All CMS gives us platform to store content in database and publish the same on webpage for end users. Content can be an article, employee details, equipment details, product details or other information which need to be stored in database.

As we know that digital information is saved in database through the webform. Each form has multiple fields and those fields allows to input specific information about the content. Lets take example of content which stores details of product. In this specific product detail content , there is lot of information about the product like product name, price, discount, seller, rating, specifications, description etc. In this case you need a form to store all these information about the product. The form will have fields for inputting all these information.So the group of these fields for specific content creates a bundle of fields. The bundle of fields is created for a specific type of information. A particular bundle represents a specific group of field, means a specific content type. Therefore a content type is group of fields for inputting specific information.

Content types are created from the Drupal 8 Structure section because it is part of website design.

For storing information into any content type, you need to enter into Drupal 8 Content section. The Content section is accessible from the primary menu for administrators. The Content section shows list of content types which you earlier created in the structure section. Select any content type for inputting information, you will see number of form inputs where you can insert inputs and then save the information in the database.

Website administrator has rights for all the action that’s why he can see all the content types. Create content, edit content, delete content, edit own are different actions associated with content. Permission for each of these action for each of content type can be given to particular role by the administrator.We earlier discussed User permissions and roles in Drupal 8 user management. Users who are not authorized will not be able to create, edit or delete content. So you can delegate authorities to groups for different tasks for each of content type.

Broadly we can say that Content section is the gateway where you can access different Content Types for inserting information into CMS. On the other hand Content Types in Structure section is the place which allows you to create a specific Content Type.