function hs_taxonomy_get_config_id in Hierarchical Select 7.3
Returns the configuration ID that would be used for the specified field.
Parameters
string $field_name: The field machine name.
Return value
string The config id for the provided field.
7 calls to hs_taxonomy_get_config_id()
- hs_taxonomy_field_delete in modules/
hs_taxonomy.module - Implements hook_field_delete().
- hs_taxonomy_field_formatter_prepare_view in modules/
hs_taxonomy.module - Implements hook_field_formatter_prepare_view().
- hs_taxonomy_field_settings_submit in modules/
hs_taxonomy.module - Submit callback; updates the field settings (i.e. sets the cardinality of the field to unlimited) whenever either the dropbox or "save lineage" is enabled.
- hs_taxonomy_field_widget_form in modules/
hs_taxonomy.module - Implements hook_field_widget_form().
- hs_taxonomy_form_field_ui_field_edit_form_alter in modules/
hs_taxonomy.module - Implements hook_form_FORMID_alter().
File
- modules/
hs_taxonomy.module, line 1214 - Implementation of the Hierarchical Select API for the Taxonomy module.
Code
function hs_taxonomy_get_config_id($field_name) {
return "taxonomy-{$field_name}";
}