function properties_sql_properties_template_load in Dynamic properties 7
Load a template based on the name.
Parameters
$name: Machine readable name of the template.
File
- properties_sql/
properties_sql.module, line 263 - This module implements the attribute and category API with a SQL backend.
Code
function properties_sql_properties_template_load($name) {
$templates = properties_sql_properties_template_load_multiple(array(
$name,
));
return reset($templates);
}