Skip to content

Commit

Permalink
adding extension hook in GridFieldDetailForm.php
Browse files Browse the repository at this point in the history
This hook is useful so that you can add additional fields / actions in a gridfield form that are not available in other settings (e.g. additional actions: previous / next / save and publish / unpublish / etc
  • Loading branch information
sunnysideup committed Dec 27, 2012
1 parent f431b35 commit a32451f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion forms/gridfield/GridFieldDetailForm.php
Expand Up @@ -348,7 +348,7 @@ public function ItemEditForm() {

$cb = $this->component->getItemEditFormCallback();
if($cb) $cb($form, $this);

$this->extend("updateItemEditForm", $form);
return $form;
}

Expand Down

0 comments on commit a32451f

Please sign in to comment.