src/Core/Field/Background.php
Method prepareField
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function prepareField($content, $details = array())
{
//Build details
$post = isset($details['post']) ? $details['post'] : 0;
$prefix = isset($details['prefix']) ? $details['prefix'] : '';
Method getBackgroundDetails
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function getBackgroundDetails()
{
return array(
'position' => array(
'0 0' => OlympusZeus::translate('Left top'),