You are here

function data_name in Data 6

Same name and namespace in other branches
  1. 8 data.module \data_name()
  2. 7 data.module \data_name()

Create a table name in the data namespace. @todo: make overridable.

2 calls to data_name()
DataTestCaseAPI::testAPIFunctions in tests/data.test
Test API functions of DataTable and DataHandler.
DataTestCaseAPI::testCRUD in tests/data.test
Run CRUD tests.

File

./data.module, line 254
Hooks and API functions for data module.

Code

function data_name($table) {
  return 'data_table_' . $table;
}