| @@ 32-42 (lines=11) @@ | ||
| 29 | /** |
|
| 30 | * {@inheritDoc} |
|
| 31 | */ |
|
| 32 | public function info() |
|
| 33 | { |
|
| 34 | return [ |
|
| 35 | 'type' => 'datetime', |
|
| 36 | 'name' => __d('field', 'Date'), |
|
| 37 | 'description' => __d('field', 'Allows to attach date picker to contents.'), |
|
| 38 | 'hidden' => false, |
|
| 39 | 'maxInstances' => 0, |
|
| 40 | 'searchable' => false, |
|
| 41 | ]; |
|
| 42 | } |
|
| 43 | ||
| 44 | /** |
|
| 45 | * {@inheritDoc} |
|
| @@ 34-44 (lines=11) @@ | ||
| 31 | /** |
|
| 32 | * {@inheritDoc} |
|
| 33 | */ |
|
| 34 | public function info() |
|
| 35 | { |
|
| 36 | return [ |
|
| 37 | 'type' => 'text', |
|
| 38 | 'name' => __d('field', 'Attachment'), |
|
| 39 | 'description' => __d('field', 'Allows to upload and attach files to contents.'), |
|
| 40 | 'hidden' => false, |
|
| 41 | 'maxInstances' => 0, |
|
| 42 | 'searchable' => false, |
|
| 43 | ]; |
|
| 44 | } |
|
| 45 | ||
| 46 | /** |
|
| 47 | * {@inheritDoc} |
|
| @@ 35-45 (lines=11) @@ | ||
| 32 | /** |
|
| 33 | * {@inheritDoc} |
|
| 34 | */ |
|
| 35 | public function info() |
|
| 36 | { |
|
| 37 | return [ |
|
| 38 | 'type' => 'text', |
|
| 39 | 'name' => __d('field', 'Image'), |
|
| 40 | 'description' => __d('field', 'Allows to attach image files to contents.'), |
|
| 41 | 'hidden' => false, |
|
| 42 | 'maxInstances' => 0, |
|
| 43 | 'searchable' => false, |
|
| 44 | ]; |
|
| 45 | } |
|
| 46 | ||
| 47 | /** |
|
| 48 | * {@inheritDoc} |
|
| @@ 31-41 (lines=11) @@ | ||
| 28 | /** |
|
| 29 | * {@inheritDoc} |
|
| 30 | */ |
|
| 31 | public function info() |
|
| 32 | { |
|
| 33 | return [ |
|
| 34 | 'type' => 'text', |
|
| 35 | 'name' => __d('field', 'List'), |
|
| 36 | 'description' => __d('field', 'Defines list field types, used to create selection lists.'), |
|
| 37 | 'hidden' => false, |
|
| 38 | 'maxInstances' => 0, |
|
| 39 | 'searchable' => true, |
|
| 40 | ]; |
|
| 41 | } |
|
| 42 | ||
| 43 | /** |
|
| 44 | * {@inheritDoc} |
|
| @@ 34-44 (lines=11) @@ | ||
| 31 | /** |
|
| 32 | * {@inheritDoc} |
|
| 33 | */ |
|
| 34 | public function info() |
|
| 35 | { |
|
| 36 | return [ |
|
| 37 | 'type' => 'text', |
|
| 38 | 'name' => __d('field', 'Publishing Date'), |
|
| 39 | 'description' => __d('field', 'Allows scheduling of contents by making them available only between certain dates.'), |
|
| 40 | 'hidden' => false, |
|
| 41 | 'maxInstances' => 1, |
|
| 42 | 'searchable' => false, |
|
| 43 | ]; |
|
| 44 | } |
|
| 45 | ||
| 46 | /** |
|
| 47 | * {@inheritDoc} |
|
| @@ 35-45 (lines=11) @@ | ||
| 32 | /** |
|
| 33 | * {@inheritDoc} |
|
| 34 | */ |
|
| 35 | public function info() |
|
| 36 | { |
|
| 37 | return [ |
|
| 38 | 'type' => 'text', |
|
| 39 | 'name' => __d('field', 'Text'), |
|
| 40 | 'description' => __d('field', 'Allow to store text data in database.'), |
|
| 41 | 'hidden' => false, |
|
| 42 | 'maxInstances' => 0, |
|
| 43 | 'searchable' => true, |
|
| 44 | ]; |
|
| 45 | } |
|
| 46 | ||
| 47 | /** |
|
| 48 | * {@inheritDoc} |
|