-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Frank Anderson
committed
Mar 17, 2017
1 parent
b16903c
commit 1b1b0b3
Showing
3 changed files
with
27 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
- Entities are things in Drupal | ||
- Drupal 6 custom things where nodes or custom | ||
- Drupal 7 the entity-field system brought the CCK into core without making everything a node | ||
- Users, Taxonomy Terms, and Nodes, are all Entities | ||
- A bundle is a collection of fields instances on an Entity | ||
- A field instance is a place for complex data in a Entity Bundle | ||
- A property is simple storage for Entity level data | ||
- Properties are linked to an Entity, such as Node. Fields are linked to the Bundle, such as Content Type. | ||
- Properties are stored on the entity's table and fields are stored in their own table. | ||
- Not all content should entities, fields, or properties. Sometimes a table should just be a table. - BTMash | ||
--- | ||
|
||
### Entities | ||
|
||
Entities are things in Drupal; things do not have to be nodes. | ||
|
||
- A bundle is a collection of fields instances on an Entity | ||
- A field instance is a place for complex data in a Entity Bundle | ||
- A property is simple storage for Entity level data | ||
|
||
Properties are linked to an Entity, such as Node. Fields are linked to the Bundle, such as Content Type. | ||
|
||
Properties are stored on the entity's table and fields are stored in their own table. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters