You are here

public function FeaturesBundleInterface::inBundle in Features 8.4

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

Determines if the $machine_name is prefixed by the bundle machine name.

Parameters

string $machine_name: The machine name of a package.

Return value

bool TRUE if the machine name is prefixed by the bundle machine name.

1 method overrides FeaturesBundleInterface::inBundle()
FeaturesBundle::inBundle in src/Entity/FeaturesBundle.php
Determines if the $machine_name is prefixed by the bundle machine name.

File

src/FeaturesBundleInterface.php, line 91

Class

FeaturesBundleInterface
Provides an interface for the FeaturesBundle object.

Namespace

Drupal\features

Code

public function inBundle($machine_name);