<?php
namespace Website\Widgets\FormElements; use Moto; class StatusMessageWidget extends AbstractFormElementWidget { protected $_name = 'form_elements.status_message'; protected static $_defaultProperties = array( 'messages' => array( 'statusSendingText' => 'Sending...', 'statusSendingStyle' => 'moto-text_system_10', 'sendingSuccessText' => 'Your message was sent successfully.', 'sendingSuccessStyle' => 'moto-text_system_10', 'sendingErrorText' => 'Sorry, your message was not sent.', 'sendingErrorStyle' => 'moto-text_system_10' ), '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/status_message.twig.html'; } } 