|
|
|
|
@ -145,7 +145,7 @@ class TwigTweakExtension extends AbstractExtension {
|
|
|
|
|
/** |
|
|
|
|
* Builds the render array for a block. |
|
|
|
|
*/ |
|
|
|
|
public static function drupalBlock(string $id, array $configuration = [], array | string $arguments = [] bool $wrapper = TRUE): array { |
|
|
|
|
public static function drupalBlock(string $id, array $configuration = [], array | string $arguments = [], bool $wrapper = TRUE): array { |
|
|
|
|
if (is_string($arguments)) { |
|
|
|
|
$arguments = explode(',', $arguments); |
|
|
|
|
} |
|
|
|
|
|