You are here

function farm_plan_save in farmOS 7

Save plan.

Parameters

FarmPlan $farm_plan: The farm plan entity.

1 call to farm_plan_save()
farm_plan_form_submit in modules/farm/farm_plan/farm_plan.pages.inc
Plan submit handler.

File

modules/farm/farm_plan/farm_plan.module, line 594
Farm plan - A farm plan entity type.

Code

function farm_plan_save(FarmPlan $farm_plan) {
  entity_save('farm_plan', $farm_plan);
}