# ablocks/2.9.0/includes/blocks/toggle-child/block.php

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

- Page: https://pluginprobe.com/plugins/ablocks/2.9.0/code/includes/blocks/toggle-child/block.php
- Raw: https://pluginprobe.com/plugins/ablocks/2.9.0/raw/includes/blocks/toggle-child/block.php
- Modified: 2026-01-12T16:09:48+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.9.0/code/includes/blocks/toggle-child/block.php#L10-L20`.

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

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

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

class Block extends BlockBaseAbstract {

	protected $parent_block_name = 'toggle';
	protected $block_name = 'toggle-child';

	public function build_css( $attributes ) {
		$css_generator = new CssGenerator( $attributes );

		return $css_generator->generate_css();
	}
}

```
