Wc
3 weeks ago
CheckboxDefaultType.php
3 weeks ago
CheckboxType.php
3 weeks ago
ColorType.php
3 weeks ago
DateType.php
3 weeks ago
DefaultType.php
3 weeks ago
EmailType.php
3 weeks ago
FileType.php
3 weeks ago
HeadingType.php
3 weeks ago
HiddenType.php
3 weeks ago
HtmlType.php
3 weeks ago
ImageType.php
3 weeks ago
MultiCheckboxType.php
3 weeks ago
MultiSelectType.php
3 weeks ago
NumberType.php
3 weeks ago
ParagraphType.php
3 weeks ago
PhoneType.php
3 weeks ago
RadioColorsType.php
3 weeks ago
RadioDefaultType.php
3 weeks ago
RadioImagesType.php
3 weeks ago
RadioType.php
3 weeks ago
SelectType.php
3 weeks ago
TextType.php
3 weeks ago
TextareaType.php
3 weeks ago
TimeType.php
3 weeks ago
TypeAbstract.php
3 weeks ago
TypeIntegration.php
3 weeks ago
TypeInterface.php
3 weeks ago
UrlType.php
3 weeks ago
RadioImagesType.php
49 lines
| 1 | <?php |
| 2 | |
| 3 | namespace WPDesk\FCF\Free\Field\Type; |
| 4 | |
| 5 | use WPDesk\FCF\Free\Field\Types; |
| 6 | |
| 7 | /** |
| 8 | * {@inheritdoc} |
| 9 | */ |
| 10 | class RadioImagesType extends TypeAbstract { |
| 11 | |
| 12 | const FIELD_TYPE = 'radioimages'; |
| 13 | |
| 14 | /** |
| 15 | * {@inheritdoc} |
| 16 | */ |
| 17 | public function get_field_type(): string { |
| 18 | return self::FIELD_TYPE; |
| 19 | } |
| 20 | |
| 21 | /** |
| 22 | * {@inheritdoc} |
| 23 | */ |
| 24 | public function get_field_type_label(): string { |
| 25 | return __( 'Radio with images', 'flexible-checkout-fields' ); |
| 26 | } |
| 27 | |
| 28 | /** |
| 29 | * {@inheritdoc} |
| 30 | */ |
| 31 | public function get_field_group(): string { |
| 32 | return Types::FIELD_GROUP_OPTION; |
| 33 | } |
| 34 | |
| 35 | /** |
| 36 | * {@inheritdoc} |
| 37 | */ |
| 38 | public function get_field_type_icon(): string { |
| 39 | return 'icon-images'; |
| 40 | } |
| 41 | |
| 42 | /** |
| 43 | * {@inheritdoc} |
| 44 | */ |
| 45 | public function is_available(): bool { |
| 46 | return false; |
| 47 | } |
| 48 | } |
| 49 |