function tripal_views_integration_add_entry

2.x tripal_views.DEPRECATED.inc tripal_views_integration_add_entry($defn_array, $setup_id = FALSE)
1.x tripal_views.api.inc tripal_views_integration_add_entry($defn_array)

Deprecated

Restructured API to make naming more readable and consistent. Function was deprecated in Tripal 2.0 and will be removed 2 releases from now. This function has been replaced by tripal_add_views_integration().

See also

tripal_add_views_integration().

File

tripal_views/api/tripal_views.DEPRECATED.inc, line 212
Wrapper functions to provide backwards compatibility for the tripal analysis api

Code

function tripal_views_integration_add_entry($defn_array, $setup_id = FALSE) {

  tripal_report_error(
  'tripal_deprecated', 
  TRIPAL_NOTICE, 
  "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.", 
  array(
    '%old_function' => 'tripal_views_integration_add_entry',
    '%new_function' => 'tripal_add_views_integration'
  )
  );

  return tripal_add_views_integration($defn_array, $setup_id);
}