You are here

protected property EntityNormalizer::$supportedInterfaceOrClass in JSON:API 8

The interface or class that this Normalizer supports.

Type: string

Overrides NormalizerBase::$supportedInterfaceOrClass

File

src/Normalizer/EntityNormalizer.php, line 36

Class

EntityNormalizer
Converts the Drupal entity object to a JSON API array structure.

Namespace

Drupal\jsonapi\Normalizer

Code

protected $supportedInterfaceOrClass = ContentEntityInterface::class;