public function cutAll()
{
if ($GLOBALS['TL_DCA'][$this->strTable]['config']['notSortable']) {
throw new InternalServerErrorException('Table "' . $this->strTable . '" is not sortable.');
}
/** @var SessionInterface $objSession */
$objSession = \System::getContainer()->get('session');
$arrClipboard = $objSession->get('CLIPBOARD');
if (isset($arrClipboard[$this->strTable]) && is_array($arrClipboard[$this->strTable]['id'])) {
foreach ($arrClipboard[$this->strTable]['id'] as $id) {
$this->intId = $id;
$this->cut(true);
\Input::setGet('pid', $id);
\Input::setGet('mode', 1);
}
}
$this->redirect($this->getReferer());
}