Now all modules are in core modules folder

This commit is contained in:
Manuel Cillero 2017-08-08 12:14:45 +02:00
parent 5ba1cdfa0b
commit 05b6a91b0c
1907 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,17 @@
<?php
/**
* @file
* Views handler to show attribute values rather than keys in views.
*/
class storm_handler_field_attributes_domain extends views_handler_field {
function render($values) {
$key = $values->{$this->field_alias};
$value = storm_attribute_value($this->definition['domain'], $key);
if (!empty($this->definition['icon'])) {
return storm_icon($this->definition['icon'] .'_'. $key, $value);
}
return check_plain($value);
}
}