You are here

function content_views_tablename in Content Construction Kit (CCK) 6.2

Same name and namespace in other branches
  1. 6.3 includes/views/content.views.inc \content_views_tablename()
  2. 6 includes/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_handler_field_multiple::pre_render in includes/views/handlers/content_handler_field_multiple.inc
content_views_field_views_data in includes/views/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().

... See full list

File

includes/views/content.views.inc, line 360
Interface between content.module and views.module.

Code

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