Extends core container, so that we can pass the tag that will be used as container.
- Require it with composer:
composer require nelson-ph/container_tag
- Install the module as any other module.
Programmatically:
$element=[
'#type'=>'container_tag',
'#tag'=>'strong',
'container_values'=>[
'markup'=>[
'#markup'=>'simple markup',
],
],
];
This project is licensed under the MIT License - see the LICENSE.md file for details