Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
commerce_swiss_post
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
commerce_swiss_post
Merge requests
!13
D11 compatiblity
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Expand sidebar
Merged
D11 compatiblity
issue/commerce_swiss_post-3428509:d11-compatiblity
into
1.0.x
Overview
1
Commits
5
Pipelines
6
Changes
19
1 open thread
Hide all comments
Merged
D11 compatiblity
Primoz Hmeljak
requested to merge
issue/commerce_swiss_post-3428509:d11-compatiblity
into
1.0.x
10 months ago
Overview
1
Commits
5
Pipelines
6
Changes
19
1 open thread
Hide all comments
0
0
Merge request reports
Compare
1.0.x
version 5
6856c3ee
8 months ago
version 4
9412c334
8 months ago
version 3
2483bb68
8 months ago
version 2
8737bdaa
8 months ago
version 1
2ffd8dc2
10 months ago
1.0.x (base)
and
latest version
latest version
6856c3ee
5 commits,
4 months ago
version 5
6856c3ee
5 commits,
8 months ago
version 4
9412c334
4 commits,
8 months ago
version 3
2483bb68
4 commits,
8 months ago
version 2
8737bdaa
3 commits,
8 months ago
version 1
2ffd8dc2
2 commits,
10 months ago
19 files
+
51
−
44
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
19
src/Controller/CommerceSwissPostLabelController.php
+
1
−
5
View file @ 6856c3ee
Edit in single-file editor
Open in Web IDE
Show full file
@@ -2,17 +2,13 @@
namespace
Drupal\commerce_swiss_post\Controller
;
use
Drupal\commerce_order
\Entity\OrderInterface
;
use
Drupal\commerce_shipping
\Entity\Shipment
;
use
Drupal\commerce_shipping
\Entity\ShipmentInterface
;
use
Drupal\commerce_swiss_post
\LabelGeneratorInterface
;
use
Drupal\commerce_swiss_post
\Plugin\Commerce\ShippingMethod\SwissPost
;
use
Drupal\Core\Controller\ControllerBase
;
use
Drupal\Core\Access\AccessResult
;
use
Drupal\entity_print
\PrintBuilderInterface
;
use
Symfony\Component\DependencyInjection\ContainerInterface
;
use
Symfony\Component\HttpFoundation\RedirectResponse
;
use
Symfony\Component\HttpFoundation\StreamedResponse
;
/**
* Print controller.
@@ -43,7 +39,7 @@ class CommerceSwissPostLabelController extends ControllerBase {
}
/**
* Generate label for a commerce_shipment entity
* Generate label for a commerce_shipment entity
.
*
* @param \Drupal\commerce_shipping\Entity\ShipmentInterface $commerce_shipment
* The shipment.
Loading