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