public function FeaturesAssignerInterface::renameBundle in Features 8.3
Same name and namespace in other branches
- 8.4 src/FeaturesAssignerInterface.php \Drupal\features\FeaturesAssignerInterface::renameBundle()
Renames a bundle.
Parameters
string $old_machine: The old machine name of a bundle.
string $new_machine: The new machine name of a bundle.
Return value
\Drupal\features\FeaturesBundleInterface A features bundle object.
1 method overrides FeaturesAssignerInterface::renameBundle()
- FeaturesAssigner::renameBundle in src/
FeaturesAssigner.php - Renames a bundle.
File
- src/
FeaturesAssignerInterface.php, line 214
Class
- FeaturesAssignerInterface
- Common interface for features assignment services.
Namespace
Drupal\featuresCode
public function renameBundle($old_machine, $new_machine);