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