1 | <?php |
||
23 | class SwitchButtonTwigExtension extends AbstractSwitchButtonTwigExtension { |
||
24 | |||
25 | /** |
||
26 | * Service name. |
||
27 | * |
||
28 | * @var string |
||
29 | */ |
||
30 | const SERVICE_NAME = "wbw.adminbsb.twig.extension.form.switch_button"; |
||
31 | |||
32 | /** |
||
33 | * Displays an AdminBSB switch button "Basic". |
||
34 | * |
||
35 | * @param array $args The arguments. |
||
36 | * @return string Returns the AdminBSB switch button "Basic". |
||
37 | */ |
||
38 | public function adminBSBSwitchButtonBasicFunction(array $args = []): string { |
||
41 | |||
42 | /** |
||
43 | * Displays an AdminBSB switch button "Material design". |
||
44 | * |
||
45 | * @param array $args The arguments. |
||
46 | * @return string Returns the AdminBSB switch button "Material design". |
||
47 | */ |
||
48 | public function adminBSBSwitchButtonMaterialDesignFunction(array $args = []): string { |
||
51 | |||
52 | /** |
||
53 | * Get the Twig functions. |
||
54 | * |
||
55 | * @return TwigFunction[] Returns the Twig functions. |
||
56 | */ |
||
57 | public function getFunctions(): array { |
||
63 | } |
||
64 |