function RulesReactionListBuilder::buildOperations

Overrides EntityListBuilder::buildOperations

File

src/Controller/RulesReactionListBuilder.php, line 130

Class

RulesReactionListBuilder
Defines a class to build a listing of ReactionRuleConfig entities.

Namespace

Drupal\rules\Controller

Code

public function buildOperations(EntityInterface $entity) {
    $build = parent::buildOperations($entity);
    uasort($build['#links'], 'Drupal\\Component\\Utility\\SortArray::sortByWeightElement');
    return $build;
}