# ablocks/2.11.1/includes/blocks/storeengine-cart-sub-table/attributes.php

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

- Page: https://pluginprobe.com/plugins/ablocks/2.11.1/code/includes/blocks/storeengine-cart-sub-table/attributes.php
- Raw: https://pluginprobe.com/plugins/ablocks/2.11.1/raw/includes/blocks/storeengine-cart-sub-table/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.11.1/code/includes/blocks/storeengine-cart-sub-table/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\BoxShadow;
use ABlocks\Controls\Alignment;


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

$attributes = [
	'block_id' => [
		'type' => 'string',
		'default' => '',
	],
	'blockVersion' => [
		'type' => 'number',
		'default' => 2,
	],
	'tableWidth' => [
		'type'    => 'number',
		'default' => 100,
	],
	'tableColor' => [
		'type'    => 'string',
		'default' => '',
	],
	'tableColorH' => [
		'type'    => 'string',
		'default' => '',
	],
	'tableBackgroundH' => [
		'type'    => 'string',
		'default' => '',
	],
	'tableBackground' => [
		'type'    => 'string',
		'default' => '',
	],
	'tableLastBackground' => [
		'type'    => 'string',
		'default' => '',
	],
	'tableLastBackgroundH' => [
		'type'    => 'string',
		'default' => '',
	],
	'tableLastColorH' => [
		'type'    => 'string',
		'default' => '',
	],
	'tableLastColor' => [
		'type'    => 'string',
		'default' => '',
	],
];

$attributes = array_merge(
	$attributes,
	Typography::get_attribute( 'firstTableTypography', true ),
	Typography::get_attribute( 'lastTableTypography', true ),
	Alignment::get_attribute( 'tableAlignment', true, [ 'value' => 'left' ] ),
);

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


```
