function _system_check_array_table_prefixes
Checks if there are 'prefix' entries in array format for tables.
1 call to _system_check_array_table_prefixes()
- system_requirements in core/
modules/ system/ system.install - Implements hook_requirements().
File
-
core/
modules/ system/ system.install, line 1657
Code
function _system_check_array_table_prefixes() {
foreach (Database::getAllConnectionInfo() as $targets) {
foreach ($targets as $target) {
if (isset($target['extra_prefix']) && is_array($target['extra_prefix'])) {
return TRUE;
}
}
}
return FALSE;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.