fix gin bug & audioplayer bug

This commit is contained in:
2026-11-24 12:09:18 +01:00
parent 700f797cc4
commit e0a1769d0f
10 changed files with 130 additions and 96 deletions
@@ -7,6 +7,7 @@ use Drupal\Component\Plugin\Attribute\Plugin;
#[\Attribute(\Attribute::TARGET_CLASS)]
class AudioPlayer extends Plugin {
public string|\Stringable $title = '';
public string|\Stringable $description = '';
public function __construct(
@@ -16,8 +17,10 @@ class AudioPlayer extends Plugin {
string|\Stringable|null $description = '',
public string $libraryName = '',
public string $website = '',
?string $deriver = NULL,
) {
parent::__construct($id, $title ?? '');
parent::__construct($id, $deriver);
$this->title = $title ?? '';
$this->description = $description ?? '';
}