1 | <?php |
||
32 | final class WordpressStandardTheme extends Theme |
||
33 | { |
||
34 | /** |
||
35 | * {@inheritdoc} |
||
36 | */ |
||
37 | public function classes() |
||
38 | { |
||
39 | new Assets(); |
||
40 | new ImageSizes(); |
||
41 | new Mailer(); |
||
42 | new Menus(); |
||
43 | |||
44 | new TagManagerTwig(); |
||
45 | new TranslationTwig(); |
||
46 | } |
||
47 | |||
48 | /** |
||
49 | * {@inheritdoc} |
||
50 | */ |
||
51 | public function context(array $context) |
||
52 | { |
||
53 | $context['headerMenu'] = new Menu(Menus::MENU_HEADER); |
||
54 | |||
55 | return $context; |
||
56 | } |
||
57 | |||
58 | /** |
||
59 | * {@inheritdoc} |
||
60 | */ |
||
61 | public function templates($templates) |
||
65 | } |
||
|
|||
66 |
This check marks files that end in a newline character, i.e. an empy line.