function delta_layout_name_exists in Delta 7.2
Helper function for machine readable names in {delta_theme_settings}
Parameters
$t:
1 string reference to 'delta_layout_name_exists'
- delta_layout_edit in ./
delta_ui.admin.inc - Form callback for creating and editing theme settings templates
File
- ./
delta_ui.admin.inc, line 439 - Delta UI functionality
Code
function delta_layout_name_exists($t) {
$exists = db_query_range('SELECT 1 FROM {delta_theme_settings} WHERE system_name = :name', 0, 1, array(
':name' => $t,
))
->fetchField();
return $exists;
}