src/CoreBundle/EventListener/DcGeneral/MetaModel/PasteButtonListener.php
private function checkEmpty($action)
    {
        if ($this->hasVariants() && $this->currentModel !== null) {
            $this->disablePA = false;
        } elseif ($action == 'create') {
            $this->disablePA = false;
            $this->disablePI = false;
        }
    }
private function checkEmpty($action)
    {
        if ($this->hasVariants() && $this->currentModel !== null) {
            $this->disablePA = false;
        } elseif ($action == 'create') {
            $this->disablePA = false;
            $this->disablePI = false;
        }
    }
Check the PA and PI without a contained model.

@param string $action The action to be checked.

@return void