nelson-ph / container_tag
Extends core container, so that we can pass the tag that will be used as container.
Installs: 2 393
Dependents: 1
Suggesters: 0
Security: 0
Stars: 1
Watchers: 0
Forks: 0
Open Issues: 0
Type:drupal-module
Requires (Dev)
This package is auto-updated.
Last update: 2025-05-09 17:21:15 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