public ConfigTranslationBlockListBuilder::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 ConfigTranslationEntityListBuilder::sortRows
File
- core/modules/config_translation/src/Controller/ConfigTranslationBlockListBuilder.php, line 95
Class
- ConfigTranslationBlockListBuilder
- Defines the config translation list builder for blocks.
Namespace
Drupal\config_translation\Controller
Code
public function sortRows($a, $b) { return $this->sortRowsMultiple($a, $b, array('theme', 'category', 'label')); }
Please login to continue.