<?php
namespace Website\Widgets\FormElements; use Moto; class RadioButtonsWidget extends AbstractFormInputWidget { protected $_name = 'form_elements.radio_buttons'; protected static $_defaultProperties = array( 'options' => array(), 'optionsDirection' => 'vertical', 'validation' => array( 'required' => false ), 'align' => array( 'desktop' => 'left', 'tablet' => '', 'mobile-v' => '', 'mobile-h' => '', ), 'spacing' => array( 'top' => 'auto', 'right' => 'auto', 'bottom' => 'small', 'left' => 'auto', ), ); public function getTemplatePath($preset = null) { return '@websiteWidgets/form_elements/templates/radio_buttons.twig.html'; } } 