/** * Override to pass the sourceId * @return type */ protected function getCreateLinkRouteParameters() { $routeParams = array_merge(array('sourceId' => $this->getGridViewId()), parent::getCreateLinkRouteParameters()); if (($redirectUrl = ArrayUtil::getArrayValue($routeParams, 'redirectUrl')) != null) { $routeParams['redirectUrl'] = TasksUtil::resolveOpenTasksActionsRedirectUrlForDetailsAndRelationsView($redirectUrl); } return $routeParams; }