Esempio n. 1
0
 /**
  * {@inheritdoc}
  */
 public function getBaseRouteParameters()
 {
     $parameters = parent::getBaseRouteParameters();
     $base_entity_info = $this->entityManager->getDefinition($this->pluginDefinition['base_entity_type']);
     $parameters[$base_entity_info->getBundleEntityType()] = $this->entity->getTargetBundle();
     return $parameters;
 }
 /**
  * {@inheritdoc}
  */
 public function getBaseRouteParameters()
 {
     $parameters = parent::getBaseRouteParameters();
     $parameters['page'] = $this->entity->get('page');
     return $parameters;
 }