function RestResourceConfig::onDependencyRemoval
Overrides ConfigEntityBase::onDependencyRemoval
File
- 
              core/
modules/ rest/ src/ Entity/ RestResourceConfig.php, line 228  
Class
- RestResourceConfig
 - Defines a RestResourceConfig configuration entity class.
 
Namespace
Drupal\rest\EntityCode
public function onDependencyRemoval(array $dependencies) {
  $parent = parent::onDependencyRemoval($dependencies);
  // If the dependency problems are not marked as fixed at this point they
  // should be related to the resource plugin and the config entity should
  // be deleted.
  $changed = $this->getRestResourceDependencies()
    ->onDependencyRemoval($this, $dependencies);
  return $parent || $changed;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.