You are here

function content_views_tablename in Content Construction Kit (CCK) 6

Same name and namespace in other branches
  1. 6.3 includes/views/content.views.inc \content_views_tablename()
  2. 6.2 includes/views/content.views.inc \content_views_tablename()

Helper function so it is possible to change the Views tablename in the future without re-writing code.

6 calls to content_views_tablename()
content_views_field_views_data in includes/content.views.inc
nodereference_field_settings in modules/nodereference/nodereference.module
Implementation of hook_field_settings().
number_field_settings in modules/number/number.module
Implementation of hook_field_settings().
text_field_settings in modules/text/text.module
Implementation of hook_field_settings().
userreference_field_settings in modules/userreference/userreference.module
Implementation of hook_field_settings().

... See full list

File

includes/content.views.inc, line 14

Code

function content_views_tablename($field) {
  return 'node_data_' . $field['field_name'];
}