- Issue created by @Iván Barrios
The Component Validator throws InvalidComponentException when slots contain content examples, preventing components from loading properl
Error:
Drupal\Core\Render\Component\Exception\InvalidComponentException: [slots.media.examples[0]] Object value found, but a string is required in Drupal\Core\Theme\Component\ComponentValidator->validateDefinition() (line 144 of core/lib/Drupal/Core/Theme/Component/ComponentValidator.php).
Remove examples from slot definitions in component YAML files. Slots should only contain title and description properties.
Active
1.3
Code