You are here

public function FarmPlanType::isLocked in farmOS 7

File

modules/farm/farm_plan/farm_plan.class.inc, line 81
Farm plan classes.

Class

FarmPlanType
Farm plan type class.

Code

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