Overrides EntityBase::urlRouteParameters
protected function urlRouteParameters($rel) { $uri_route_parameters = parent::urlRouteParameters($rel); if ($rel === 'add-form') { $uri_route_parameters['entity_type_id'] = $this->getTargetType(); } return $uri_route_parameters; }