public function RulesConditionalEmptyUI::operations in Conditional Rules 8
Same name and namespace in other branches
- 7 includes/rules_conditional.ui.inc \RulesConditionalEmptyUI::operations()
Overrides RulesConditionalPluginUI::operations
File
- includes/
rules_conditional.ui.inc, line 48 - Plugin UI implementation.
Class
- RulesConditionalEmptyUI
- Empty UI for doing nothing with the plugin.
Code
public function operations() {
$ops = parent::operations();
// Get rid of the 'edit' link.
if (isset($ops['#links']['edit'])) {
unset($ops['#links']['edit']);
}
return $ops;
}