public ConfigTranslationEntityListBuilder::sortRows($a, $b)
Sorts an array by value.
Parameters
array $a: First item for comparison.
array $b: Second item for comparison.
Return value
int The comparison result for uasort().
Overrides ConfigTranslationEntityListBuilderInterface::sortRows
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\Controller
Code
1 2 3 | public function sortRows( $a , $b ) { return $this ->sortRowsMultiple( $a , $b , array ( 'label' )); } |
Please login to continue.