You are here

public function FeaturesAssignerInterface::applyBundle in Features 8.4

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

Makes the named bundle the current bundle.

Parameters

string $machine_name: The name of a features bundle. If omitted, gets the last bundle from the Session.

Return value

\Drupal\features\FeaturesBundleInterface A features bundle object.

1 method overrides FeaturesAssignerInterface::applyBundle()
FeaturesAssigner::applyBundle in src/FeaturesAssigner.php
Makes the named bundle the current bundle.

File

src/FeaturesAssignerInterface.php, line 201

Class

FeaturesAssignerInterface
Common interface for features assignment services.

Namespace

Drupal\features

Code

public function applyBundle($machine_name = NULL);