2

By Default we have two content types: Article and Basic page.

Which module creates those content types?

  • 1
    Those two content types are created by the Standard installation profile you chose when installing Drupal. – Wim Mostrey Feb 1 '17 at 6:31
  • I found Node Entity and NodeType under core Node module. If it is a part of install then they should be written in install file or somethjing like that. Please correct me if I am wrong. – Pankaj Jarial Feb 1 '17 at 6:33
2

@Wim Mostrey was right.

In Drupal 7, the default configuration for modules (e.g. content types, field configuration, views) required custom PHP code to install and keep updated. In Drupal 8, these are stored with the configuration system in plain text YAML files, for example core/profiles/standard/config/install/node.type.article.yml.

References

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.