src/Contao/View/Contao2BackendView/Controller/ClipboardController.php
private function translateActionName($actionName)
    {
        switch ($actionName) {
            case 'create':
                return Item::CREATE;
            case 'cut':
                return Item::CUT;
            case 'copy':
                return Item::COPY;
            case 'deepcopy':
                return Item::DEEP_COPY;
            default:
        }
        return null;
    }
private function translateActionName($actionName)
    {
        switch ($actionName) {
            case 'create':
                return Item::CREATE;
            case 'cut':
                return Item::CUT;
            case 'copy':
                return Item::COPY;
            case 'deepcopy':
                return Item::DEEP_COPY;
            default:
        }
        return null;
    }
private function translateActionName ( $ actionName ) { switch ( $ actionName ) { case 'create' : return Item :: CREATE ; case 'cut' : return Item :: CUT ; case 'copy' : return Item :: COPY ; case 'deepcopy' : return Item :: DEEP_COPY ; default : } return null ; }
Translate an action name to a clipboard action name.

@param string $actionName The action name to translate.

@return null|string
Translate an action name to a clipboard action name .