1: <?php
2:
3: /**
4: * WordPress media file property as a gallery.
5: */
6: class Papi_Property_Gallery extends Papi_Property_Image {
7:
8: /**
9: * The convert type.
10: *
11: * @var string
12: */
13: public $convert_type = 'array';
14:
15: /**
16: * The default value.
17: *
18: * @var array
19: */
20: public $default_value = [];
21:
22: /**
23: * Get default settings.
24: *
25: * @return array
26: */
27: public function get_default_settings() {
28: return [
29: 'multiple' => true
30: ];
31: }
32: }
33: