You are here

public function FeaturesAssigner::reset in Features 8.3

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

Resets the assigned packages and the method instances.

Overrides FeaturesAssignerInterface::reset

1 call to FeaturesAssigner::reset()
FeaturesAssigner::applyBundle in src/FeaturesAssigner.php
Makes the named bundle the current bundle.

File

src/FeaturesAssigner.php, line 124

Class

FeaturesAssigner
Class responsible for performing package assignment.

Namespace

Drupal\features

Code

public function reset() {
  $this->methods = [];
  $this->featuresManager
    ->reset();
}