Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/nelson-ph/d8-container_tag
- Owner: nelson-ph
- License: mit
- Created: 2018-05-01T22:34:52.000Z (over 6 years ago)
- Default Branch: 8.x-1.x
- Last Pushed: 2024-02-09T14:20:33.000Z (11 months ago)
- Last Synced: 2024-11-14T21:48:52.036Z (about 2 months ago)
- Language: PHP
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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