function mvf_unit_suggesters_settings_name in Measured Value Field 7
Derive name, under which settings of a unit suggester will be stored.
Parameters
array $unit_suggester: CTools unit_suggester plugin, for which to generate name
Return value
string Name under which settings of this unit suggester plugin will be stored
2 calls to mvf_unit_suggesters_settings_name()
- mvf_unit_suggester_info in ./
mvf.module - Collect information about a single unit suggester and its settings.
- _mvf_unit_suggester_process in ./
mvf.module - Form API process function for 'mvf_unit_suggester' form element.
File
- ./
mvf.module, line 1744 - Define a field type of measured value.
Code
function mvf_unit_suggesters_settings_name($unit_suggester) {
return $unit_suggester['name'];
}