src/CoreBundle/Controller/Backend/RenderSettingAddAllController.php
protected function createEmptyDataFor(IAttribute $attribute, $parentId, $activate, $sort)
    {
        $result   = [
            'attr_id' => $attribute->get('id'),
            'pid'     => $parentId,
            'sorting' => $sort,
            'tstamp'  => time(),
            'enabled' => $activate ? '1' : ''
        ];
        $defaults = $attribute->getDefaultRenderSettings();
        foreach ($defaults->getKeys() as $key) {
            $result[$key] = $defaults->get($key);
        }

        return $result;
    }
protected function createEmptyDataFor(IAttribute $attribute, $parentId, $activate, $sort)
    {
        $result   = [
            'attr_id' => $attribute->get('id'),
            'pid'     => $parentId,
            'sorting' => $sort,
            'tstamp'  => time(),
            'enabled' => $activate ? '1' : ''
        ];
        $defaults = $attribute->getDefaultRenderSettings();
        foreach ($defaults->getKeys() as $key) {
            $result[$key] = $defaults->get($key);
        }

        return $result;
    }
{@inheritDoc}

@SuppressWarnings(PHPMD.UnusedFormalParameter)