Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nelson-ph/d8-container_tag

Drupal 8 container tag module
https://github.com/nelson-ph/d8-container_tag

Last synced: about 2 months ago
JSON representation

Drupal 8 container tag module

Awesome Lists containing this project

README

        

# Container tag

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:

```php
$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](LICENSE.md) file for details