function RulesComponentListBuilder::buildOperations
Overrides EntityListBuilder::buildOperations
File
-
src/
Controller/ RulesComponentListBuilder.php, line 105
Class
- RulesComponentListBuilder
- Defines a class to build a listing of RulesComponentConfig entities.
Namespace
Drupal\rules\ControllerCode
public function buildOperations(EntityInterface $entity) {
$build = parent::buildOperations($entity);
uasort($build['#links'], 'Drupal\\Component\\Utility\\SortArray::sortByWeightElement');
return $build;
}