-
Notifications
You must be signed in to change notification settings - Fork 3
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
1 parent
61339ca
commit b098836
Showing
4 changed files
with
64 additions
and
60 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Add Fields to Content Types | ||
============================ | ||
|
||
In order for a field to be used, it needs to be added to a specific content type. This can be done through the "Manage Fields" interface for a given Content Type. More specifically, go to Tripal > Page Structure and then choose "Manage Fields" for the Content Type you want to add a field to. | ||
|
||
This can also be done programmatically, however documentation for this is still being developed. | ||
|
||
.. warning:: | ||
|
||
This documentation is still being developed. In the meantime there are | ||
examples for programmatically adding TripalFields in the Tripal core codebase. | ||
Specifically, look in the Chado Preparer class in | ||
`tripal_chado/src/Task/ChadoPreparer.php`. |
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,10 @@ | ||
Non-Chado Field Storage | ||
========================= | ||
|
||
The TripalStorage plugin supports providing custom backends for fields. You can have fields with different storage backends on the same Content Type. | ||
|
||
.. warning:: | ||
|
||
This documentation is still being developed. Currently ChadoStorage provides | ||
an example for implementing the TripalStorage data store extension. It can be | ||
found in `tripal_chado/src/Plugin/TripalStorage/ChadoStorage.php`. |
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