function tripal_add_variables

3.x tripal.install tripal_add_variables()

Adds variables for bundles.

1 call to tripal_add_variables()

File

tripal/tripal.install, line 34
Contains functions used to install/uninstall tripal.

Code

function tripal_add_variables() {
  // Add tripal bundle variables needed for storing additional settings for
  // Tripal Bundles.
  tripal_insert_variable(
  'title_format', 
  'A pattern including tokens that can be used to generate tripal entity titles.'
  );
  tripal_insert_variable(
  'url_format', 
  'A pattern including tokens that can be used to generate tripal entity url aliases.'
  );
  tripal_insert_variable(
  'description', 
  'The description of a Tripal Entity type/bundle.'
  );
  tripal_insert_variable(
  'hide_empty_field', 
  'Structure->Tripal Content Type->edit checkbox to hide empty fields for that bundle.'
  );
}