You are here

function commerce_option_set_load in Commerce Product Option 7

Same name and namespace in other branches
  1. 7.2 commerce_option.module \commerce_option_set_load()

Loads a option set

Parameters

$set_id: The machine-readable name of the option set; accepts normal machine names and URL prepared machine names with underscores replaced by hyphens.

4 calls to commerce_option_set_load()
commerce_option_set_delete in ./commerce_option.module
commerce_option_set_delete_form_wrapper in ./commerce_option.module
Form callback wrapper: confirmation form for deleting a option set.
commerce_option_set_form_wrapper in ./commerce_option.module
Form callback wrapper: create or edit a option set.
commerce_option_set_reference_field_formatter_view in option_set_reference/commerce_option_set_reference.module

File

./commerce_option.module, line 318

Code

function commerce_option_set_load($set_id) {
  return commerce_option_get_sets($set_id);
}