5 * Every database object action whose objects can be toggled has to implement this
8 * @author Matthias Schmidt
9 * @copyright 2001-2019 WoltLab GmbH
10 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
11 * @package WoltLabSuite\Core\Data
13 interface IToggleAction
{
15 * Toggles the "isDisabled" status of the relevant objects.
17 public function toggle();
20 * Validates the "toggle" action.
22 public function validateToggle();