diff --git a/src/Loggable/Mapping/Driver/Xml.php b/src/Loggable/Mapping/Driver/Xml.php index cd00c02da9..a0a8b9ed19 100644 --- a/src/Loggable/Mapping/Driver/Xml.php +++ b/src/Loggable/Mapping/Driver/Xml.php @@ -38,7 +38,7 @@ public function readExtendedMetadata($meta, array &$config) $xml = $xml->children(self::GEDMO_NAMESPACE_URI); - if (in_array($xmlDoctrine->getName(), ['mapped-superclass', 'entity', 'document'], true)) { + if (in_array($xmlDoctrine->getName(), ['mapped-superclass', 'entity', 'document', 'embeddable'], true)) { if (isset($xml->loggable)) { /** * @var \SimpleXMLElement