In this recipe, we will be adding a new node type and customizing it using Fields. As an example, we will be creating a type named company to hold information about a company along with details such as its address, telephone number, e-mail address, and so on.
It is assumed that the Field, Field UI and, at the very least, the Text module have all been enabled. The Field UI module is required for the field management interface to be accessible.
The Field API integrates into Drupal's content management pages and can be accessed by navigating to
admin/structure/types [Home | Administration | Structure | Content types]. Perform the following steps to add the new node type: