You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
250 B
PHTML
14 lines
250 B
PHTML
7 months ago
|
<?php
|
||
|
|
||
|
class ET_Builder_Module_Helper_Motion_Rotate extends ET_Builder_Module_Helper_Motion_Sanitizer {
|
||
|
|
||
|
/**
|
||
|
* @param string $value
|
||
|
*
|
||
|
* @return string
|
||
|
*/
|
||
|
protected function sanitize( $value ) {
|
||
|
return min( 0, (int) $value ) . 'deg';
|
||
|
}
|
||
|
}
|