Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
new-drupal
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
Koinova Angelika
new-drupal
Commits
edf35a53
Commit
edf35a53
authored
Jun 16, 2022
by
Koinova Angelika
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
8671df23
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
15 deletions
+3
-15
MyNodeNormalizer.php
.../custom/my_normalizer/src/Normalizer/MyNodeNormalizer.php
+3
-15
No files found.
app/docroot/modules/custom/my_normalizer/src/Normalizer/MyNodeNormalizer.php
View file @
edf35a53
...
...
@@ -2,24 +2,12 @@
namespace
Drupal\my_normalizer\Normalizer
;
use
Drupal\commerce_cart\CartProvider
;
use
Drupal\commerce_cart\Event\CartEvents
;
use
Drupal\commerce_cart_api\CartTokenSession
;
use
Drupal\commerce_cart_api\CommerceCartApiServiceProvider
;
use
Drupal\commerce_cart_api\Plugin\rest\resource\CartAddResource
;
use
Drupal\commerce_cart_api\Plugin\rest\resource\CartResourceBase
;
use
Drupal\commerce_cart_reactjs\Controller\CartController
;
use
Drupal\commerce_order\Entity\Order
;
use
Drupal\Core\Entity\EntityTypeInterface
;
use
Drupal\Core\TypedData\TypedData
;
use
Drupal\file\Entity\File
;
use
Drupal\image\Entity\ImageStyle
;
use
Drupal\node\NodeInterface
;
use
Drupal\rest\RequestHandler
;
use
Drupal\serialization\Normalizer\ContentEntityNormalizer
;
use
Drupal\Core\Datetime\DrupalDateTime
;
use
Drupal\serialization\Normalizer\ConfigEntityNormalizer
;
use
Drupal\serialization\Normalizer\ComplexDataNormalizer
;
/**
* Converts the Drupal entity object structures to a normalized array.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment