You are here

public function FeaturesAssignerInterface::loadBundle in Features 8.3

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

Loads a named bundle.

Parameters

string $machine_name: (optional) The name of a features bundle. Defaults to NULL, gets the last bundle from the session.

Return value

\Drupal\features\FeaturesBundleInterface A features bundle object.

1 method overrides FeaturesAssignerInterface::loadBundle()
FeaturesAssigner::loadBundle in src/FeaturesAssigner.php
Loads a named bundle.

File

src/FeaturesAssignerInterface.php, line 226

Class

FeaturesAssignerInterface
Common interface for features assignment services.

Namespace

Drupal\features

Code

public function loadBundle($machine_name = NULL);