Skip to content
This repository has been archived by the owner on Mar 31, 2023. It is now read-only.

Commit

Permalink
Remove experimental code.
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffTomlinson committed Aug 3, 2017
1 parent efc421a commit 5c38789
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 155 deletions.

This file was deleted.

This file was deleted.

36 changes: 0 additions & 36 deletions emulsify.theme
Expand Up @@ -4,39 +4,3 @@
* @file
* Functions to support theming in the Pattern Lab theme.
*/

use Drupal\Component\Utility\NestedArray;
use Drupal\Core\Template\Attribute;

function emulsify_preprocess(&$variables, $hook, $info) {
// kint($variables['attributes']);
// $default_variables = _template_preprocess_default_variables();
// kint($default_variables['attributes']);


// if (isset($info['render element'])) {
//// kint($variables['attributes']);
// $key = $info['render element'];
//
//// $variables['emulsify_attributes'] = 'Emulsify attributes.';
//
// if (isset($variables[$key]['#attributes'])) {
// $variables['emulsify_attributes'] = NestedArray::mergeDeep($variables['attributes'], $variables[$key]['#attributes']);
//
// }
// }

// dsm($hook);

// static $attrs;
//
// $attributes = new Attribute();
//
// foreach ($goobar_variables as $attribute => $value) {
// $attributes->setAttribute($attribute, $value);
// unset($variables['attributes'][$attribute]);
// }
//
// $variables['goobar'] = $attributes;

}

0 comments on commit 5c38789

Please sign in to comment.