You are here

public function FeaturesAssignerInterface::setCurrent in Features 8.4

Same name and namespace in other branches
  1. 8.3 src/FeaturesAssignerInterface.php \Drupal\features\FeaturesAssignerInterface::setCurrent()

Sets the currently active bundle.

Updates value in current SESSION.

Parameters

\Drupal\features\FeaturesBundleInterface $bundle: A features bundle object.

1 method overrides FeaturesAssignerInterface::setCurrent()
FeaturesAssigner::setCurrent in src/FeaturesAssigner.php
Sets the currently active bundle.

File

src/FeaturesAssignerInterface.php, line 134

Class

FeaturesAssignerInterface
Common interface for features assignment services.

Namespace

Drupal\features

Code

public function setCurrent(FeaturesBundleInterface $bundle);