';
return [
'id' => uniqid(),
'type' => self::$type,
'name' => __( 'Logo', 'yaymail' ),
'icon' => self::$icon,
'group' => 'basic',
'available' => true,
'position' => 10,
'data' => [
'container_group_definition' => [
'component' => 'GroupDefinition',
'title' => __( 'Container settings', 'yaymail' ),
'description' => __( 'Handle container layout settings', 'yaymail' ),
],
'padding' => ElementsHelper::get_spacing( $attributes ),
'background_color' => ElementsHelper::get_color( $attributes ),
'logo_breaker' => [
'component' => 'LineBreaker',
],
'logo_group_definition' => [
'component' => 'GroupDefinition',
'title' => __( 'Logo settings', 'yaymail' ),
'description' => __( 'Handle logo settings', 'yaymail' ),
],
'src' => ElementsHelper::get_media(
$attributes,
[
'title' => __( 'Source image', 'yaymail' ),
]
),
'align' => ElementsHelper::get_align(
$attributes,
[
'title' => __( 'Logo position', 'yaymail' ),
]
),
'width' => ElementsHelper::get_dimension( $attributes ),
'url' => ElementsHelper::get_text_input(
$attributes,
[
'title' => __( 'Open link', 'yaymail' ),
]
),
'alt' => ElementsHelper::get_text_input(
$attributes,
[
'value_path' => 'alt',
'title' => __( 'ALT text', 'yaymail' ),
'default_value' => '',
]
),
],
];
}
}