function ConfigTranslationEntityListBuilder::sortRows
Same name in other branches
- 9 core/modules/config_translation/src/Controller/ConfigTranslationEntityListBuilder.php \Drupal\config_translation\Controller\ConfigTranslationEntityListBuilder::sortRows()
- 8.9.x core/modules/config_translation/src/Controller/ConfigTranslationEntityListBuilder.php \Drupal\config_translation\Controller\ConfigTranslationEntityListBuilder::sortRows()
- 11.x core/modules/config_translation/src/Controller/ConfigTranslationEntityListBuilder.php \Drupal\config_translation\Controller\ConfigTranslationEntityListBuilder::sortRows()
Overrides ConfigTranslationEntityListBuilderInterface::sortRows
2 methods override ConfigTranslationEntityListBuilder::sortRows()
- ConfigTranslationBlockListBuilder::sortRows in core/
modules/ config_translation/ src/ Controller/ ConfigTranslationBlockListBuilder.php - Sorts an array by value.
- ConfigTranslationFieldListBuilder::sortRows in core/
modules/ config_translation/ src/ Controller/ ConfigTranslationFieldListBuilder.php - Sorts an array by value.
File
-
core/
modules/ config_translation/ src/ Controller/ ConfigTranslationEntityListBuilder.php, line 97
Class
- ConfigTranslationEntityListBuilder
- Defines the configuration translation list builder for entities.
Namespace
Drupal\config_translation\ControllerCode
public function sortRows($a, $b) {
return $this->sortRowsMultiple($a, $b, [
'label',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.