1 | <?php |
||
16 | abstract class WidgetValidationBase extends PluginBase implements WidgetValidationInterface { |
||
17 | |||
18 | /** |
||
19 | * Plugin label. |
||
20 | * |
||
21 | * @var string |
||
22 | */ |
||
23 | protected $label; |
||
24 | |||
25 | /** |
||
26 | * {@inheritdoc} |
||
27 | */ |
||
28 | public function defaultConfiguration() { |
||
31 | |||
32 | /** |
||
33 | * {@inheritdoc} |
||
34 | */ |
||
35 | public function label() { |
||
38 | |||
39 | /** |
||
40 | * {@inheritdoc} |
||
41 | */ |
||
42 | public function validate(array $entities, $options = []) {} |
||
43 | |||
44 | /** |
||
45 | * {@inheritdoc} |
||
46 | */ |
||
47 | public function getConfiguration() { |
||
50 | |||
51 | /** |
||
52 | * {@inheritdoc} |
||
53 | */ |
||
54 | public function setConfiguration(array $configuration) { |
||
57 | |||
58 | /** |
||
59 | * {@inheritdoc} |
||
60 | */ |
||
61 | public function calculateDependencies() { |
||
64 | } |
||
65 |