function RulesRuleUI::operations

Overrides RulesContainerPluginUI::operations

File

ui/ui.plugins.inc, line 80

Class

RulesRuleUI
Rule specific UI.

Code

public function operations() {
    // When rules are listed only show the edit and delete operations.
    $ops = parent::operations();
    $ops['#links'] = array_intersect_key($ops['#links'], array_flip(array(
        'edit',
        'delete',
    )));
    return $ops;
}