nelson-ph / container_tag
Extends core container, so that we can pass the tag that will be used as container.
Package info
github.com/nelson-ph/D8-container_tag
Type:drupal-module
pkg:composer/nelson-ph/container_tag
2.0.1
2024-02-09 14:19 UTC
Requires (Dev)
This package is auto-updated.
Last update: 2026-03-09 19:13:41 UTC
README
Extends core container, so that we can pass the tag that will be used as container.
Install
- Require it with composer:
composer require nelson-ph/container_tag - Install the module as any other module.
Usage
Programmatically:
$element=[ '#type'=>'container_tag', '#tag'=>'strong', 'container_values'=>[ 'markup'=>[ '#markup'=>'simple markup', ], ], ];
License
This project is licensed under the MIT License - see the LICENSE.md file for details