# ablocks/trunk/includes/blocks/table-header/block.php

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

- Page: https://pluginprobe.com/plugins/ablocks/trunk/code/includes/blocks/table-header/block.php
- Raw: https://pluginprobe.com/plugins/ablocks/trunk/raw/includes/blocks/table-header/block.php
- Modified: 2024-11-14T13:53:38+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/trunk/code/includes/blocks/table-header/block.php#L10-L20`.

```php
<?php
namespace ABlocks\Blocks\TableHeader;

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

use ABlocks\Classes\BlockBaseAbstract;
use ABlocks\Classes\CssGenerator;

class Block extends BlockBaseAbstract {
	protected $parent_block_name = 'table';
	protected $block_name = 'table-header';

	public function build_css( $attributes ) {
		// Generate CSS start
		$css_generator = new CssGenerator( $attributes, $this->block_name );

		return $css_generator->generate_css();
	}


}

```
