You are here

public function FeaturesAssignerInterface::findBundle in Features 8.4

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

Searches for a bundle that matches the $info.yml or $features.yml export.

Creates a new bundle as needed.

Parameters

array $info: The bundle info.

mixed $features_info: The features info.

Return value

\Drupal\features\FeaturesBundleInterface A bundle.

1 method overrides FeaturesAssignerInterface::findBundle()
FeaturesAssigner::findBundle in src/FeaturesAssigner.php
Searches for a bundle that matches the $info.yml or $features.yml export.

File

src/FeaturesAssignerInterface.php, line 124

Class

FeaturesAssignerInterface
Common interface for features assignment services.

Namespace

Drupal\features

Code

public function findBundle(array $info, $features_info = NULL);