You are here

function country_disable_action in Countries 8

Same name and namespace in other branches
  1. 7.2 countries.module \country_disable_action()

Disable country action.

File

./countries.module, line 1042
Defines the field and entity information for countries.

Code

function country_disable_action($country, $context = array()) {
  $country->enabled = 0;
  country_save($country);
}