function country_enable_action in Countries 8
Same name and namespace in other branches
- 7.2 countries.module \country_enable_action()
 
Enable country action.
File
- ./
countries.module, line 1034  - Defines the field and entity information for countries.
 
Code
function country_enable_action($country, $context = array()) {
  $country->enabled = 1;
  country_save($country);
}