public function FeaturesAssigner::removeBundle in Features 8.3
Same name and namespace in other branches
- 8.4 src/FeaturesAssigner.php \Drupal\features\FeaturesAssigner::removeBundle()
File
- src/
FeaturesAssigner.php, line 448
Class
- FeaturesAssigner
- Class responsible for performing package assignment.
Namespace
Drupal\featuresCode
public function removeBundle($machine_name) {
$bundle = $this
->getBundle($machine_name);
if (isset($bundle) && !$bundle
->isDefault()) {
unset($this->bundles[$machine_name]);
$bundle
->remove();
}
}