1 | <?php |
||
24 | class TreeBlockService extends BaseBlockService |
||
25 | { |
||
26 | /** |
||
27 | * @var array |
||
28 | */ |
||
29 | protected $defaults; |
||
30 | |||
31 | /** |
||
32 | * @param string $name |
||
33 | * @param EngineInterface $templating |
||
34 | * @param array $defaults |
||
35 | */ |
||
36 | public function __construct($name, EngineInterface $templating, array $defaults = array()) |
||
41 | |||
42 | /** |
||
43 | * {@inheritDoc} |
||
44 | * |
||
45 | * NOOP as there is nothing to edit. |
||
46 | */ |
||
47 | public function buildEditForm(FormMapper $form, BlockInterface $block) |
||
51 | |||
52 | /** |
||
53 | * {@inheritDoc} |
||
54 | */ |
||
55 | public function execute(BlockContextInterface $blockContext, Response $response = null) |
||
62 | |||
63 | /** |
||
64 | * {@inheritDoc} |
||
65 | */ |
||
66 | public function setDefaultSettings(OptionsResolverInterface $resolver) |
||
75 | |||
76 | /** |
||
77 | * {@inheritDoc} |
||
78 | * |
||
79 | * NOOP as we do not edit and hence have nothing to validate. |
||
80 | */ |
||
81 | public function validateBlock(ErrorElement $errorElement, BlockInterface $block) |
||
85 | } |
||
86 |