function admin_delete($id = null, $type = null) { $this->CoreCustomField->id = $id; $pageId = $this->CoreCustomField->field('core_page_id'); $this->redirectDestination = array('controller' => 'core_pages', 'action' => 'view', $pageId); parent::admin_delete($id, $type); }