Back to ComponentAdapter class

Method _rollback_menu

protected bool
_rollback_menu
(mixed $step)
Custom rollback method - Roll back the component menu item
Parameters
  • array $step Installation step to rollback.
Returns
  • bool True on success
Since
  • 3.1
-
  • \Exception

Method _rollback_menu - Source code

/**
 * Custom rollback method
 * - Roll back the component menu item
 *
 * @param   array  $step  Installation step to rollback.
 *
 * @return  boolean  True on success
 *
 * @throws  \Exception
 *
 * @since   3.1
 */
protected function _rollback_menu($step)
{
    return $this->_removeAdminMenus($step['id']);
}