Issue #2002946 by mari3.14, malcomio: Rename Views method lgtm() to useStringGroupBy().

8.0.x
Alex Pott 2013-05-29 14:28:50 +01:00
parent e63a30960e
commit 89f15d220a
2 changed files with 4 additions and 3 deletions

View File

@ -916,7 +916,7 @@ abstract class DisplayPluginBase extends PluginBase {
*
* @param bool $groupable_only
* (optional) TRUE to only return an array of field labels from handlers
* that support the use_string_group_by method, defaults to FALSE.
* that support the useStringGroupBy method, defaults to FALSE.
*
* @return array
* An array of applicable field options, keyed by ID.
@ -928,7 +928,7 @@ abstract class DisplayPluginBase extends PluginBase {
}
foreach ($this->getHandlers('field') as $id => $handler) {
if ($groupable_only && !$handler->use_string_group_by()) {
if ($groupable_only && !$handler->useStringGroupBy()) {
// Continue to next handler if it's not groupable.
continue;
}

View File

@ -402,7 +402,7 @@ abstract class FieldPluginBase extends HandlerBase {
* @return bool
* TRUE if this field handler is groupable, otherwise FALSE.
*/
function use_string_group_by() {
public function useStringGroupBy() {
return TRUE;
}
@ -1672,3 +1672,4 @@ If you would like to have the characters \'[\' and \']\' use the html entity cod
/**
* @}
*/