';
return [
'id' => uniqid(),
'type' => self::$type,
'name' => __( 'Footer', 'yaymail' ),
'icon' => self::$icon,
'group' => 'basic',
'available' => true,
'position' => 150,
'data' => [
'container_group_definition' => [
'component' => 'GroupDefinition',
'title' => __( 'Container settings', 'yaymail' ),
'description' => __( 'Handle container layout settings', 'yaymail' ),
],
'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'] : '#f9f9f9',
'type' => 'style',
],
'content_breaker' => [
'component' => 'LineBreaker',
],
'content_group_definition' => [
'component' => 'GroupDefinition',
'title' => __( 'Content settings', 'yaymail' ),
'description' => __( 'Handle content settings', 'yaymail' ),
],
'text_color' => [
'value_path' => 'text_color',
'component' => 'Color',
'title' => __( 'Text color', 'yaymail' ),
'default_value' => isset( $attributes['text_color'] ) ? $attributes['text_color'] : '#8a8a8a',
'type' => 'style',
],
'font_family' => [
'value_path' => 'font_family',
'component' => 'FontFamilySelector',
'title' => __( 'Font family', 'yaymail' ),
'default_value' => isset( $attributes['font_family'] ) ? $attributes['font_family'] : YAYMAIL_DEFAULT_FAMILY,
'type' => 'style',
],
'rich_text' => [
'value_path' => 'rich_text',
'component' => 'RichTextEditor',
'title' => __( 'Content', 'yaymail' ),
'default_value' => isset( $attributes['rich_text'] ) ? $attributes['rich_text'] : '[yaymail_site_name] - Built with WooCommerce
',
'type' => 'content',
],
],
];
}
}