Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
3f196cab
Commit
3f196cab
authored
Jun 19, 2013
by
alexpott
Browse files
Issue
#2021981
by bdone: Fixed typo: lable to label.
parent
9bcaeed6
Changes
2
Hide whitespace changes
Inline
Side-by-side
core/modules/field/field.views.inc
View file @
3f196cab
...
...
@@ -80,7 +80,7 @@ function field_views_field_label($field_name) {
if
(
empty
(
$label_counter
))
{
return
array
(
$field_name
,
$all_labels
);
}
// Sort the field lab
l
es by it most used label and return the most used one.
// Sort the field labe
l
s by it most used label and return the most used one.
arsort
(
$label_counter
);
$label_counter
=
array_keys
(
$label_counter
);
return
array
(
$label_counter
[
0
],
$all_labels
);
...
...
core/modules/views/lib/Drupal/views/Plugin/views/field/FieldPluginBase.php
View file @
3f196cab
...
...
@@ -1063,7 +1063,7 @@ public function buildOptionsForm(&$form, &$form_state) {
}
/**
* Returns all field lab
l
es of fields before this field.
* Returns all field labe
l
s of fields before this field.
*
* @return array
* An array of field labels keyed by their field IDs.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment