'; return [ 'id' => uniqid(), 'type' => self::$type, 'name' => __( 'Container', 'yaymail' ), 'icon' => self::$icon, 'group' => 'general', 'available' => false, 'disabled_reason' => [ 'html' => __( 'This element is available in YayMail Pro', 'yaymail' ), ], 'position' => 145, 'children' => isset( $attributes['children'] ) ? $attributes['children'] : [], 'status_info' => [ 'text' => __( 'New', 'yaymail' ), ], 'data' => [ 'padding' => [ 'value_path' => 'padding', 'component' => 'Spacing', 'title' => __( 'Padding', 'yaymail' ), 'default_value' => isset( $attributes['padding'] ) ? $attributes['padding'] : [ 'top' => '15', 'right' => '50', 'bottom' => '15', 'left' => '50', ], 'type' => 'style', ], 'background_color' => [ 'value_path' => 'background_color', 'component' => 'Color', 'title' => __( 'Background color', 'yaymail' ), 'default_value' => isset( $attributes['background_color'] ) ? $attributes['background_color'] : '#fff', 'type' => 'style', ], 'direction' => [ 'value_path' => 'direction', 'component' => 'Selector', 'title' => __( 'Direction', 'yaymail' ), 'default_value' => isset( $attributes['direction'] ) ? $attributes['direction'] : 'horizontal', 'options' => [ [ 'label' => __( 'Horizontal', 'yaymail' ), 'value' => 'horizontal', ], [ 'label' => __( 'Vertical', 'yaymail' ), 'value' => 'vertical', ], ], 'type' => 'style', ], ], ]; } }