curtco/tagutils

This package is abandoned and no longer maintained. No replacement package was suggested.

Generate Drupal renderable tags with ease.

dev-master 2016-06-27 19:14 UTC

This package is not auto-updated.

Last update: 2022-01-08 04:30:17 UTC


README

Build Status

Generate tags for inclusion in Drupal's #attached.

Usage

use CurtCo\Tagutils\Metatag;

// in your CustomEntityViewController for example...
$build['#attached']['html_head_link'][] = Metatag::build('description', 'my cool website');