Overrides Drupal\config\ConfigEntityListController::getOperations();
Overrides ConfigEntityListController::getOperations
public function getOperations(EntityInterface $entity) {
$operations = parent::getOperations($entity);
$uri = $entity
->uri();
$operations['duplicate'] = array(
'title' => t('Duplicate'),
'href' => $uri['path'] . '/duplicate',
'options' => $uri['options'],
'weight' => 15,
);
return $operations;
}