code: public function removeLink($type, $name)
      {
          $this->manipulateJson('removeSubNode', $type, $name, function (&$config, $type, $name) {
              unset($config[$type][$name]);
  
              if (0 === count($config[$type])) {
                  unset($config[$type]);
              }
          });
      }
docs: {@inheritdoc}