1 | <?php |
||
25 | class ObjectsField extends IntegrationField |
||
26 | { |
||
27 | /** |
||
28 | * @inheritdoc |
||
29 | */ |
||
30 | protected $defaultAvailableActions = [ |
||
31 | SyncTo::class |
||
32 | ]; |
||
33 | |||
34 | /** |
||
35 | * @inheritdoc |
||
36 | */ |
||
37 | protected $defaultAvailableItemActions = [ |
||
38 | SyncItemFrom::class, |
||
39 | SyncItemTo::class, |
||
40 | ]; |
||
41 | |||
42 | /** |
||
43 | * @inheritdoc |
||
44 | * @return ObjectAssociations |
||
45 | */ |
||
46 | protected function associationService(): IntegrationAssociations |
||
50 | |||
51 | /** |
||
52 | * @inheritdoc |
||
53 | */ |
||
54 | protected static function tableAlias(): string |
||
58 | |||
59 | /******************************************* |
||
60 | * SETTINGS |
||
61 | *******************************************/ |
||
62 | |||
63 | /** |
||
64 | * @inheritdoc |
||
65 | */ |
||
66 | protected function settingsHtmlVariables(Integrations $field): array |
||
75 | |||
76 | /******************************************* |
||
77 | * OBJECTS |
||
78 | *******************************************/ |
||
79 | |||
80 | /** |
||
81 | * @return array |
||
82 | */ |
||
83 | protected function getObjects(): array |
||
100 | |||
101 | /** |
||
102 | * @inheritdoc |
||
103 | */ |
||
104 | public function getObjectLabel(Integrations $field): string |
||
108 | } |
||
109 |