public function RulesConditionalEmptyUI::operations in Conditional Rules 7
Same name and namespace in other branches
- 8 includes/rules_conditional.ui.inc \RulesConditionalEmptyUI::operations()
Implements RulesPluginUIInterface.
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;
}