Don't provide the "Add to menu" action for command forms

refs #11850
This commit is contained in:
Alexander A. Klimov 2016-05-31 14:56:42 +02:00
parent 50037d8ec9
commit ecfc8b0f0a
1 changed files with 1 additions and 0 deletions

View File

@ -129,6 +129,7 @@ abstract class MonitoredObjectController extends Controller
$this->view->form = $form;
$this->view->object = $this->object;
$this->view->tabs->remove('dashboard');
$this->view->tabs->remove('menu-entry');
$this->_helper->viewRenderer('partials/command/object-command-form', null, true);
return $form;
}