src/Attribute/Base.php
private function getBaseDefinition()
    {
        $this->setLanguageStrings();
        $tableName  = $this->getMetaModel()->getTableName();
        $definition = array();
        if (isset($GLOBALS['TL_DCA'][$tableName]['fields'][$this->getColName()])) {
            $definition = $GLOBALS['TL_DCA'][$tableName]['fields'][$this->getColName()];
        }

        return array_replace_recursive(
            array
            (
                'label' => &$GLOBALS['TL_LANG'][$tableName][$this->getColName()],
                'eval'  => array()
            ),
            $definition
        );
    }
private function getBaseDefinition()
    {
        $this->setLanguageStrings();
        $tableName  = $this->getMetaModel()->getTableName();
        $definition = array();
        if (isset($GLOBALS['TL_DCA'][$tableName]['fields'][$this->getColName()])) {
            $definition = $GLOBALS['TL_DCA'][$tableName]['fields'][$this->getColName()];
        }

        return array_replace_recursive(
            array
            (
                'label' => &$GLOBALS['TL_LANG'][$tableName][$this->getColName()],
                'eval'  => array()
            ),
            $definition
        );
    }
Retrieve the base definition by the user from dca_config.

@return array

@SuppressWarnings(PHPMD.Superglobals)
@SuppressWarnings(PHPMD.CamelCaseVariableName)