public function JSONDataField::__construct in JSON Field 8
Constructs a Plugin object.
Overrides HandlerBase::__construct
File
- src/
Plugin/ views/ field/ JSONDataField.php, line 42
Class
- JSONDataField
- Field handler to present JSON data to an entity "data" display.
Namespace
Drupal\json_field\Plugin\views\fieldCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, SerializerInterface $serializer) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->serializer = $serializer;
}