Issue #1922396 by damiankloip: Add groupable_only() parameter to DisplayPluginBase::getFieldLabels().