# ablocks/2.14.0/includes/blocks/storeengine-checkout-form/attributes.php

aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder &amp; Animation Builder, version 2.14.0. 95 lines.

- Page: https://pluginprobe.com/plugins/ablocks/2.14.0/code/includes/blocks/storeengine-checkout-form/attributes.php
- Raw: https://pluginprobe.com/plugins/ablocks/2.14.0/raw/includes/blocks/storeengine-checkout-form/attributes.php
- Modified: 2025-07-14T14:48:20+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/ablocks/2.14.0/code/includes/blocks/storeengine-checkout-form/attributes.php#L10-L20`.

```php
<?php

use ABlocks\Controls\Typography;
use ABlocks\Controls\Background;
use ABlocks\Controls\Border;
use ABlocks\Controls\Dimensions;
use ABlocks\Controls\Range;

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

$attributes = [
	'block_id' => [
		'type' => 'string',
		'default' => '',
	],
	'blockVersion' => [
		'type'    => 'number',
		'default' => 2,
	],
	'titleColor' => [
		'type'    => 'string',
		'default' => '',
	],
	'titleColorH' => [
		'type'    => 'string',
		'default' => '',
	],
	'labelColor' => [
		'type'    => 'string',
		'default' => '',
	],
	'labelColorH' => [
		'type'    => 'string',
		'default' => '',
	],
	'selectTextcolor' => [
		'type'    => 'string',
		'default' => '',
	],
	'selectTextcolorH' => [
		'type'    => 'string',
		'default' => '',
	],
	'selectBackground' => [
		'type'    => 'string',
		'default' => '',
	],
	'selectBackgroundH' => [
		'type'    => 'string',
		'default' => '',
	],
	'buttonBackground' => [
		'type'    => 'string',
		'default' => '',
	],
	'buttonBackgroundH' => [
		'type'    => 'string',
		'default' => '',
	],
	'buttonColor' => [
		'type'    => 'string',
		'default' => '',
	],
	'buttonColorH' => [
		'type'    => 'string',
		'default' => '',
	],
];

$attributes = array_merge(
	$attributes,
	Typography::get_attribute( 'titleTypography', true ),
	Typography::get_attribute( 'labelTypography', true ),
	Typography::get_attribute( 'buttonTypography', true ),
	Dimensions::get_attribute( 'padding', true ),
	Border::get_attribute( 'inputBorder', true ),
	Typography::get_attribute( 'selectTypography', true ),
	Dimensions::get_attribute( 'selectPadding', true ),
	Border::get_attribute( 'selectBorder', true ),
	Range::get_attribute( [
		'attributeName' => 'selectWidth',
		'attributeObjectKey' => 'value',
		'isResponsive' => true,
		'defaultValue' => 200,
		'defaultValueMobile' => 80,
		'defaultValueTablet' => 100,
		'hasUnit' => true,
		'unitDefaultValue' => 'px',
	] ),
);

return array_merge( $attributes, \ABlocks\Classes\BlockGlobal::get_attributes() );

```
