Class BlockDecorator
Decorates a component with a _block element_.
The component is wrapped in a
div.block.block--<name>.block--<module>--<name>
element. Where <name>
is the normalized name of the block,
and <module>
is the normalized identifier of the module that
created the component.
- Brickrouge\Decorator implements Brickrouge\DecoratorInterface
- Icybee\BlockDecorator
Methods summary
public
|
#
__construct( mixed $block, string $block_name, string $module_id )
Initialiazes the |
public
mixed
|
Methods inherited from Brickrouge\Decorator
Magic methods summary
Properties summary
protected
string
|
$block_name |
#
Name of the block. |
protected
string
|
$module_id |
#
The identifier of the module providing the block. |