Procházet zdrojové kódy

fixing the entities and fields wher I put additional info in the wrong place and then added and update files and importer

Shawna Spoor před 7 roky
rodič
revize
1c0000bf31

+ 9 - 8
tripal/api/tripal.entities.api.inc

@@ -5,6 +5,15 @@
  * Provides an application programming interface (API) for working with
  * TripalEntity content types (bundles) and their entities. 
  * 
+ */
+
+/**
+ * @defgroup tripal_entities_api Tripal Entities
+ * @ingroup tripal_api
+ * @{
+ * Provides an application programming interface (API) for working with
+ * TripalEntity content types (bundles) and their entities.
+ * 
  * Bundles (Content Types): Bundles are types of content in a Drupal site.  
  * By default, Drupal provides the Basic Page and Article content types, 
  * and Drupal allows a site developer to create new content types on-the-fly 
@@ -31,14 +40,6 @@
  * 
  * For more information please see: 
  * http://tripal.info/tutorials/v3.x/developers-handbook/structure
- */
-
-/**
- * @defgroup tripal_entities_api Tripal Entities
- * @ingroup tripal_api
- * @{
- * Provides an application programming interface (API) for working with
- * TripalEntity content types (bundles) and their entities.
  * @}
  *
  */

+ 9 - 8
tripal/api/tripal.fields.api.inc

@@ -5,6 +5,15 @@
  * Provides an application programming interface (API) for working with
  * fields attached to TripalEntity content types (bundles).
  * 
+ */
+
+/**
+ * @defgroup tripal_fields_api Tripal Fields
+ * @ingroup tripal_api
+ * @{
+ * Provides an application programming interface (API) for working with
+ * fields attached to TripalEntity content types (bundles).
+ * 
  * Fields:
  * A field is a reusable "data container" that is attached to a Bundle. 
  * Programmatically, each field provides one or more primitive data types, with 
@@ -30,14 +39,6 @@
  * display, Drupal examines all of the fields that are attached to the entity's 
  * bundle, and then populates the fields instances with data specific to the 
  * entity being loaded.
- */
-
-/**
- * @defgroup tripal_fields_api Tripal Fields
- * @ingroup tripal_api
- * @{
- * Provides an application programming interface (API) for working with
- * fields attached to TripalEntity content types (bundles).
  * @}
  *
  */

+ 2 - 2
tripal/api/tripal.files.api.inc

@@ -36,8 +36,8 @@
  */
 function tripal_create_files_dir($module_name, $path = FALSE) {
 
-  // if the path is not supplied then assume they want to create the base files directory
-  // for the specified module
+  // if the path is not supplied then assume they want to create the base files
+  // directory for the specified module
   if (!$path) {
     // make the data directory for this module
     $data_dir = tripal_get_files_dir() . "/$module_name";

+ 1 - 0
tripal/api/tripal.importer.api.inc

@@ -4,6 +4,7 @@
  * @file
  * Provides an application programming interface (API) for working with
  * data file importers using the TripalImporter class.
+ * 
  */
 
 /**