src/fields/GroupedColorPaletteField.php
public function performReadonlyTransformation()
    {
        // Source and values are DataObject sets.
        $field = $this->castedCopy(GroupedColorPaletteField_Readonly::class);
        $field->setSource($this->getSource());
        $field->setReadonly(true);

        return $field;
    }
public function performReadonlyTransformation()
    {
        // Source and values are DataObject sets.
        $field = $this->castedCopy(GroupedColorPaletteField_Readonly::class);
        $field->setSource($this->getSource());
        $field->setReadonly(true);

        return $field;
    }
public function performReadonlyTransformation ( ) { // Source and values are DataObject sets. $ field = $ this -> castedCopy ( GroupedColorPaletteField_Readonly :: class ) ; $ field -> setSource ( $ this -> getSource ( ) ) ; $ field -> setReadonly ( true ) ; return $ field ; }
Gets a readonly version of the field
@return GroupedColorPaletteField_Readonly
Gets a readonly version of the field