public function FeaturesAssignerInterface::findBundleByName in Features 8.3
Same name and namespace in other branches
- 8.4 src/FeaturesAssignerInterface.php \Drupal\features\FeaturesAssignerInterface::findBundleByName()
Returns a named bundle.
First searches by Human name, then by machine_name.
Parameters
string $name: The bundle name to search by.
Return value
\Drupal\features\FeaturesBundleInterface A features bundle object.
1 method overrides FeaturesAssignerInterface::findBundleByName()
- FeaturesAssigner::findBundleByName in src/
FeaturesAssigner.php - Returns a named bundle.
File
- src/
FeaturesAssignerInterface.php, line 156
Class
- FeaturesAssignerInterface
- Common interface for features assignment services.
Namespace
Drupal\featuresCode
public function findBundleByName($name);