4

Can somebody explain to me the difference between a content type and a bundle? Is the latter just a bundle for the entity node?

2 Answers 2

7

Bundle is a generic term that applies to every entity Drupal or third-party modules define; content type is a specific term that applies to nodes.
Since nodes and content types were introduced a way before Drupal 7, content type was the first concept introduced, which then got expanded into the bundle concept when entities were introduced in Drupal 7.

So, yes, a content type is a bundle for the Node entity.

0

A content type is just a bundle of the node entity.

2
  • Erm..what? It seems to me that a content type is an instance of a node for a particular type of content (ah ha!). In Drupal 7, entities were introduced (of which nodes are one species of entity) and entities have bundles. So a node entity has a bundle, which is called a content type. So a content type is a bundle of the node entity (ahh, now I get what you wrote!) ;) Mar 17, 2014 at 15:52
  • kind of confusing ;)
    – Sven
    Mar 18, 2014 at 7:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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