Skip to content

Commit 06035f5

Browse files
committed
Improve code, DEV-1111
Signed-off-by: Iman Aboheydary <[email protected]>
1 parent 1336879 commit 06035f5

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

Plugin/PageBuilder/Model/Filter/TemplatePlugin.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,12 @@
1010

1111
class TemplatePlugin
1212
{
13-
/**
14-
* @param Config $config
15-
* @param ExternalVideoReplacer $externalVideoReplacer
16-
*/
1713
public function __construct(
1814
private readonly Config $config,
1915
private readonly ExternalVideoReplacer $externalVideoReplacer
2016
) {
2117
}
2218

23-
/**
24-
* Replace YouTube iframe sources for page builder templates
25-
*/
2619
public function afterFilter(Template $subject, string $result): string
2720
{
2821
// Only process if the block_videos_until_consent feature is enabled

0 commit comments

Comments
 (0)