Skip to content

Commit

Permalink
Refactor constructor in FileReferenceContainer.php and add Services.y…
Browse files Browse the repository at this point in the history
…aml.
  • Loading branch information
svewap committed Oct 26, 2024
1 parent 432bc62 commit a9d609a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Classes/Backend/Form/Container/FileReferenceContainer.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ public function __construct(
private readonly ConnectionPool $connectionPool,
private readonly UriBuilder $uriBuilder,
private readonly MetaDataRepository $metaDataRepository,
) {}
) {
parent::__construct($iconFactory, $inlineStackProcessor, $eventDispatcher, $resourceFactory, $connectionPool, $uriBuilder, $metaDataRepository);
}

protected function renderFileReferenceHeaderControl(): string
{
Expand Down
9 changes: 9 additions & 0 deletions Configuration/Services.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
services:
_defaults:
autowire: true
autoconfigure: true
public: false

WapplerSystems\Videos\:
resource: '../Classes/*'

0 comments on commit a9d609a

Please sign in to comment.