diff --git a/src/Entity/Book.php b/src/Entity/Book.php index d01bfe9..2562b53 100644 --- a/src/Entity/Book.php +++ b/src/Entity/Book.php @@ -189,7 +189,7 @@ public static function getEntitiesFromArray(array $array) : array foreach ($array as $object) { if (in_array( $object['_type'], - [self::TYPE_PDF, self::TYPE_AUDIO, self::TYPE_VIDEO, self::TYPE_AUDIOTALK], + [self::TYPE_PDF, self::TYPE_AUDIO, self::TYPE_VIDEO, self::TYPE_AUDIOTALK, self::TYPE_CLASSROOM], true) ) { $entities[] = self::objectTransformer($object);