public function getFieldDefinition($arrOverrides = [])
    {
        $arrFieldDef              = parent::getFieldDefinition($arrOverrides);
        $arrFieldDef['inputType'] = 'text';
        // We must not change the value.
        $arrFieldDef['eval']['disabled'] = true;

        return $arrFieldDef;
    }
public function getFieldDefinition($arrOverrides = [])
    {
        $arrFieldDef              = parent::getFieldDefinition($arrOverrides);
        $arrFieldDef['inputType'] = 'text';
        // We must not change the value.
        $arrFieldDef['eval']['disabled'] = true;

        return $arrFieldDef;
    }
public function getFieldDefinition ( $ arrOverrides = [ ] ) { $ arrFieldDef = parent :: getFieldDefinition ( $ arrOverrides ) ; $ arrFieldDef [ 'inputType' ] = 'text' ; // We must not change the value. $ arrFieldDef [ 'eval' ] [ 'disabled' ] = true ; return $ arrFieldDef ; }
This generates the field definition for use in a DCA.

It also sets the proper language variables (if not already set per dcaconfig.php or similar).
Using the optional override parameter, settings known by this attribute can be overridden for the
generating of the output array.

@param array $arrOverrides The values to override, for a list of valid parameters, call
getAttributeSettingNames().

@return array The DCA array to use as $GLOBALS['TL_DCA']['tablename']['fields']['attribute-name]

@codeCoverageIgnore
This generates the field definition for use in a DCA .