public function FieldNormalizer::__construct in Commerce Cart API 8
Constructs a new FieldNormalizer object.
Parameters
\Drupal\Core\Routing\RouteMatchInterface $route_match: The current route match.
File
- src/
Normalizer/ FieldNormalizer.php, line 27
Class
- FieldNormalizer
- Field normalizer which flattens output.
Namespace
Drupal\commerce_cart_api\NormalizerCode
public function __construct(RouteMatchInterface $route_match) {
$this->routeMatch = $route_match;
}