<?php
namespace Website\Widgets\FormElements; use Moto; class HiddenInputWidget extends AbstractFormInputWidget { protected $_name = 'form_elements.hidden_input'; protected static $_defaultProperties = array( 'name' => '', 'value' => '', 'validation' => array( 'required' => false ), ); public function getTemplatePath($preset = null) { return '@websiteWidgets/form_elements/templates/hidden_input.twig.html'; } } 