# ablocks/2.11.1/includes/blocks/table-cell/attributes.php

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

- Page: https://pluginprobe.com/plugins/ablocks/2.11.1/code/includes/blocks/table-cell/attributes.php
- Raw: https://pluginprobe.com/plugins/ablocks/2.11.1/raw/includes/blocks/table-cell/attributes.php
- Modified: 2024-12-06T17:32:26+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/table-cell/attributes.php#L10-L20`.

```php
<?php

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

use ABlocks\Controls\Alignment;

$attributes = [
	'block_id' => [
		'type' => 'string',
		'default' => '',
	],
	'tagName' => [
		'type' => 'string',
		'default' => 'td'
	],
	'cellColor' => [
		'type' => 'string',
		'default' => ''
	],
	'cellColorH' => [
		'type' => 'string',
		'default' => ''
	],
	'rowSpan' => [
		'type' => 'string',
		'default' => '1'
	],
	'colSpan' => [
		'type' => 'string',
		'default' => '1'
	],
];

return array_merge( $attributes, Alignment::get_attribute( 'textAlignment', true, [ 'value' => 'left' ] ) );

```
