fix gin bug & audioplayer bug
This commit is contained in:
@@ -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 ?? '';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user