/**
  * Get the form actions.
  *
  * @return ActionCollection
  */
 public function getFormActions()
 {
     return $this->form->getActions();
 }
 /**
  * Return the action buttons.
  *
  * @param null $view
  * @return string
  */
 public function renderActions($view = null)
 {
     return $this->view->make($view ?: 'streams::buttons/buttons', ['buttons' => $this->object->getActions()])->render();
 }
 /**
  * Get the active form action.
  *
  * @return null|ActionInterface
  */
 public function getActiveFormAction()
 {
     if (!($actions = $this->form->getActions())) {
         return null;
     }
     if (!($active = $actions->active())) {
         return null;
     }
     return $active;
 }