You are here

public function FeaturesBundle::setMachineName in Features 8.4

Same name and namespace in other branches
  1. 8.3 src/Entity/FeaturesBundle.php \Drupal\features\Entity\FeaturesBundle::setMachineName()

Sets the machine name of a bundle.

Parameters

string $machine_name: The machine name of a bundle.

Overrides FeaturesBundleInterface::setMachineName

See also

\Drupal\features\FeaturesBundleInterface::getMachineName()

File

src/Entity/FeaturesBundle.php, line 106

Class

FeaturesBundle
Defines a features bundle.

Namespace

Drupal\features\Entity

Code

public function setMachineName($machine_name) {
  $this->machine_name = $machine_name;
}