1 | <?php |
||
12 | abstract class FieldWidgetDisplayBase extends PluginBase implements FieldWidgetDisplayInterface { |
||
13 | |||
14 | /** |
||
15 | * Constructs field widget display plugin. |
||
16 | * |
||
17 | * @param array $configuration |
||
18 | * A configuration array containing information about the plugin instance. |
||
19 | * @param string $plugin_id |
||
20 | * The plugin_id for the plugin instance. |
||
21 | * @param mixed $plugin_definition |
||
22 | * The plugin implementation definition. |
||
23 | */ |
||
24 | public function __construct(array $configuration, $plugin_id, $plugin_definition) { |
||
28 | |||
29 | /** |
||
30 | * {@inheritdoc} |
||
31 | */ |
||
32 | public function settingsForm(array $form, FormStateInterface $form_state) { |
||
35 | |||
36 | /** |
||
37 | * {@inheritdoc} |
||
38 | */ |
||
39 | public function isApplicable(EntityTypeInterface $entity_type) { |
||
42 | |||
43 | /** |
||
44 | * {@inheritdoc} |
||
45 | */ |
||
46 | public function getConfiguration() { |
||
49 | |||
50 | /** |
||
51 | * {@inheritdoc} |
||
52 | */ |
||
53 | public function setConfiguration(array $configuration) { |
||
58 | |||
59 | /** |
||
60 | * {@inheritdoc} |
||
61 | */ |
||
62 | public function calculateDependencies() { |
||
65 | |||
66 | /** |
||
67 | * {@inheritdoc} |
||
68 | */ |
||
69 | public function defaultConfiguration() { |
||
72 | |||
73 | } |
||
74 |