1 | <?php |
||
23 | class ModalTwigExtension extends AbstractModalTwigExtension { |
||
24 | |||
25 | /** |
||
26 | * Service name. |
||
27 | * |
||
28 | * @var string |
||
29 | */ |
||
30 | const SERVICE_NAME = "wbw.adminbsb.twig.extension.ui.modal"; |
||
31 | |||
32 | /** |
||
33 | * Displays an AdminBSB modal header. |
||
34 | * |
||
35 | * @param array $args The arguments. |
||
36 | * @return string Returns the AdminBSB modal header. |
||
37 | */ |
||
38 | public function adminBSBModalHeaderFunction(array $args = []): string { |
||
41 | |||
42 | /** |
||
43 | * Get the Twig functions. |
||
44 | * |
||
45 | * @return TwigFunction[] Returns the Twig functions. |
||
46 | */ |
||
47 | public function getFunctions(): array { |
||
52 | } |
||
53 |