Example #1
0
 /**
  * {@inheritdoc}
  */
 protected function urlRouteParameters($rel)
 {
     $parameters = parent::urlRouteParameters($rel);
     $parameters['page'] = $this->get('page');
     return $parameters;
 }
Example #2
0
 /**
  * {@inheritdoc}
  */
 protected function urlRouteParameters($rel)
 {
     $parameters = parent::urlRouteParameters($rel);
     $entity_type = \Drupal::entityManager()->getDefinition($this->entity_type);
     $parameters[$entity_type->getBundleEntityType()] = $this->bundle;
     return $parameters;
 }
Example #3
0
 /**
  * {@inheritdoc}
  */
 protected function urlRouteParameters($rel)
 {
     $parameters = parent::urlRouteParameters($rel);
     return $parameters;
 }
Example #4
0
 /**
  * {@inheritdoc}
  */
 protected function urlRouteParameters($rel)
 {
     $uri_route_parameters = parent::urlRouteParameters($rel);
     // Form wizard expects step argument and uses machine_name instead of
     // entity_browser.
     if ($rel == 'edit-form') {
         $uri_route_parameters['step'] = 'general';
         $uri_route_parameters['machine_name'] = $uri_route_parameters['entity_browser'];
         unset($uri_route_parameters['entity_browser']);
     }
     return $uri_route_parameters;
 }