You are here

protected property FileEntityNormalizer::$supportedInterfaceOrClass in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/hal/src/Normalizer/FileEntityNormalizer.php \Drupal\hal\Normalizer\FileEntityNormalizer::supportedInterfaceOrClass

The interface or class that this Normalizer supports.

Type: string|array

Overrides ContentEntityNormalizer::$supportedInterfaceOrClass

File

core/modules/hal/src/Normalizer/FileEntityNormalizer.php, line 24

Class

FileEntityNormalizer
Converts the Drupal entity object structure to a HAL array structure.

Namespace

Drupal\hal\Normalizer

Code

protected $supportedInterfaceOrClass = FileInterface::class;