function LayoutEntityDisplayNormalizer::getSupportedTypes

Overrides ConfigEntityNormalizer::getSupportedTypes

File

core/modules/layout_builder/src/Normalizer/LayoutEntityDisplayNormalizer.php, line 31

Class

LayoutEntityDisplayNormalizer
Normalizes/denormalizes LayoutEntityDisplay objects into an array structure.

Namespace

Drupal\layout_builder\Normalizer

Code

public function getSupportedTypes(?string $format) : array {
  return [
    LayoutEntityDisplayInterface::class => TRUE,
  ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.