Skip to content
Snippets Groups Projects
Commit a3188ef1 authored by Arne Jørgensen's avatar Arne Jørgensen
Browse files

Codestyle cleanup.

parent e10a7f8b
No related branches found
No related tags found
No related merge requests found
.soft-length-limit-tooltip { .soft-length-limit-tooltip {
display: inline-block;
font-style: italic; font-style: italic;
display: none;
position: absolute; position: absolute;
display: inline-block;
z-index: 10; z-index: 10;
} }
......
...@@ -61,7 +61,7 @@ function soft_length_limit_field_attach_form($entity_type, $entity, &$form, &$fo ...@@ -61,7 +61,7 @@ function soft_length_limit_field_attach_form($entity_type, $entity, &$form, &$fo
if (!isset($entity_types[$entity_type])) { if (!isset($entity_types[$entity_type])) {
return; return;
} }
$fields = field_info_instances($entity_type, $form['#bundle']); $fields = field_info_instances($entity_type, $form['#bundle']);
$elements = array(); $elements = array();
...@@ -102,7 +102,7 @@ function soft_length_limit_field_attach_form($entity_type, $entity, &$form, &$fo ...@@ -102,7 +102,7 @@ function soft_length_limit_field_attach_form($entity_type, $entity, &$form, &$fo
*/ */
function soft_length_limit_set_attr(&$element, $sub_elements) { function soft_length_limit_set_attr(&$element, $sub_elements) {
$children = element_get_visible_children($element); $children = element_get_visible_children($element);
$types = _soft_length_limit_types('elements'); $types = _soft_length_limit_types('elements');
foreach ($children as $value) { foreach ($children as $value) {
if (isset($element[$value]['#type']) && isset($types[$element[$value]['#type']])) { if (isset($element[$value]['#type']) && isset($types[$element[$value]['#type']])) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment