You are here

public function Package::removeDependency in Features 8.3

Same name and namespace in other branches
  1. 8.4 src/Package.php \Drupal\features\Package::removeDependency()

File

src/Package.php, line 379

Class

Package
Defines a value object for storing package related data.

Namespace

Drupal\features

Code

public function removeDependency($name) {
  $this->dependencies = array_diff($this->dependencies, [
    $name,
  ]);
  return $this;
}