public function handleAttached(Form $form) { $control = $form->lookup('\\CmsModule\\Content\\SectionControl'); $form['parent']->setCriteria(array('extendedPage' => $control->extendedPage->id)); }
public function handleAttached(Form $form) { $control = $form->lookup('\\CmsModule\\Content\\SectionControl'); $form['parent']->setCriteria(array('extendedPage' => $control->extendedPage->id)); }