You are here

public function FeaturesBundle::getMachineName in Features 8.4

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

Returns the machine name of a bundle.

Return value

string The machine name of a bundle.

Overrides FeaturesBundleInterface::getMachineName

See also

\Drupal\features\FeaturesBundleInterface::setMachineName()

2 calls to FeaturesBundle::getMachineName()
FeaturesBundle::getShortName in src/Entity/FeaturesBundle.php
Returns a short machine name not prefixed with the bundle name.
FeaturesBundle::id in src/Entity/FeaturesBundle.php
Gets the identifier.

File

src/Entity/FeaturesBundle.php, line 99

Class

FeaturesBundle
Defines a features bundle.

Namespace

Drupal\features\Entity

Code

public function getMachineName() {
  return $this->machine_name;
}