public function FacetsSerializer::__construct in Facets 8
Constructs a FacetsSerializer object.
Overrides Serializer::__construct
File
- modules/
facets_rest/ src/ Plugin/ views/ style/ FacetsSerializer.php, line 50
Class
- FacetsSerializer
- The style plugin for serialized output formats.
Namespace
Drupal\facets_rest\Plugin\views\styleCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, SerializerInterface $serializer, array $serializer_formats, array $serializer_format_providers, DefaultFacetManager $facets_manager) {
parent::__construct($configuration, $plugin_id, $plugin_definition, $serializer, $serializer_formats, $serializer_format_providers);
$this->facetsManager = $facets_manager;
}