बंडल्स
Drupal 8 में, बंडल्स जानकारी रखने वाले कंटेनर का एक प्रकार हैं जो फ़ील्ड डिफ़िनिशन्स या सेटिंग्स रखते हैं। इन्हें कभी-कभी “subtypes” भी कहा जाता है। बंडल्स वैकल्पिक हैं और जानकारी कंटेनर की hierarchy में entity types के नीचे आते हैं।
- Entity वेरिएशन्स (कंटेंट और कंफ़िगरेशन; कई entities जोड़ों में आती हैं, जैसे blocks)
- Entity types
- Bundles या subtypes (वैकल्पिक)
इन कंटेनर प्रकारों के उदाहरण:
- Entity वेरिएशन्स:
1) कंटेंट
Entity कंटेंट टाइप्स:
1. Node:
- Node bundles, जिन्हें कंटेंट टाइप्स भी कहा जाता है:
* Article
* Basic Page
2. Taxonomy
- Taxonomy bundles, जिन्हें Vocabularies भी कहा जाता है:
* <Vocabulary A>
* <Vocabulary B>
* <Vocabulary Etc.>
3. Blocks
- Custom Block Bundles, जिन्हें Block Types भी कहा जाता है:
* <Block Type L>
* <Block Type M>
* <Block Type Etc.>
4. User (कोई child bundles नहीं हैं)
5. <Custom content entity type X>
6. <Custom content entity type Y>
7. <Custom content entity type Etc.>
2) कंफ़िगरेशन
कंफ़िगरेशन entity types:
* Custom Block types (कोई child bundles नहीं)
* View (कोई child bundles नहीं)
* Menu (कोई child bundles नहीं)
* Role (कोई child bundles नहीं)
* <Custom config entity type I>
* <Custom config entity type II>
* <Custom config entity type Etc.>