Skip to content

nelson-ph/D8-container_tag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

$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

About

Drupal 8 container tag module

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors