*/
protected $dateFormatter;
- /**
- * The redirect destination service.
- *
- * @var \Drupal\Core\Routing\RedirectDestinationInterface
- */
- protected $redirectDestination;
-
/**
* Constructs a new NodeListBuilder object.
*
return $row + parent::buildRow($entity);
}
- /**
- * {@inheritdoc}
- */
- protected function getDefaultOperations(EntityInterface $entity) {
- $operations = parent::getDefaultOperations($entity);
-
- $destination = $this->redirectDestination->getAsArray();
- foreach ($operations as $key => $operation) {
- $operations[$key]['query'] = $destination;
- }
- return $operations;
- }
-
}