You are here

function data_name in Data 8

Same name and namespace in other branches
  1. 6 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 TableFactory.
DataTestCaseAPI::testCRUD in tests/data.test
Run CRUD tests.

File

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

Code

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