iconFactory = $iconFactory; parent::__construct($backendLayoutView); } /** * {@inheritdoc} */ protected function insertPositionIcon(?array $row, int $colPos, int $pid): string { if (is_array($row)) { $attributes = [ 'data-action' => 'paste', 'data-position' => '-' . $row['uid'], 'data-colpos' => $colPos, ]; } else { $attributes = [ 'data-action' => 'paste', 'data-position' => $pid, 'data-colpos' => $colPos, ]; } $buttonLabelTransUnit = $this->copyMode === 'move' ? 'moveElementToHere' : 'copyElementToHere'; $buttonLabel = htmlspecialchars($this->getLanguageService()->sL('LLL:EXT:core/Resources/Private/Language/locallang_misc.xlf:' . $buttonLabelTransUnit)); return '