You are here

public function FeaturesBundleInterface::getShortName in Features 8.4

Same name and namespace in other branches
  1. 8.3 src/FeaturesBundleInterface.php \Drupal\features\FeaturesBundleInterface::getShortName()

Returns a short machine name not prefixed with the bundle name.

Parameters

string $machine_name: The full machine_name of a bundle.

Return value

string The short machine_name of a bundle.

1 method overrides FeaturesBundleInterface::getShortName()
FeaturesBundle::getShortName in src/Entity/FeaturesBundle.php
Returns a short machine name not prefixed with the bundle name.

File

src/FeaturesBundleInterface.php, line 80

Class

FeaturesBundleInterface
Provides an interface for the FeaturesBundle object.

Namespace

Drupal\features

Code

public function getShortName($machine_name);