You are here

public function FarmAssetType::isLocked in farmOS 7

File

modules/farm/farm_asset/farm_asset.class.inc, line 81
Farm asset classes.

Class

FarmAssetType
Farm asset type class.

Code

public function isLocked() {
  return isset($this->status) && empty($this->is_new) && ($this->status & ENTITY_IN_CODE || $this->status & ENTITY_FIXED);
}