core/traits/RegistryTrait.php
public static function remove($name)
    {
        $model = self::find()->where([self::getNameAttribute() => $name])->one();
    
        if ($model) {
            return (bool) $model->delete();
        }
    
        return false;
    }
public static function remove($name)
    {
        $model = self::find()->where([self::getNameAttribute() => $name])->one();
    
        if ($model) {
            return (bool) $model->delete();
        }
    
        return false;
    }
public static function remove ( $ name ) { $ model = self :: find ( ) -> where ( [ self :: getNameAttribute ( ) => $ name ] ) -> one ( ) ; if ( $ model ) { return ( bool ) $ model -> delete ( ) ; } return false ; }
Remove an existing config value

@param string $name
@return bool
Remove an existing config value