public function FeaturesManagerInterface::isFeatureModule in Features 8.4
Same name and namespace in other branches
- 8.3 src/FeaturesManagerInterface.php \Drupal\features\FeaturesManagerInterface::isFeatureModule()
Determines if the module is a Features package, optionally testing by bundle.
Parameters
\Drupal\Core\Extension\Extension $module: An extension object.
\Drupal\features\FeaturesBundleInterface $bundle: (optional) Bundle to filter by.
Return value
bool TRUE if the given module is a Features package of the given bundle (if any).
1 method overrides FeaturesManagerInterface::isFeatureModule()
- FeaturesManager::isFeatureModule in src/
FeaturesManager.php - Determines if the module is a Features package, optionally testing by bundle.
File
- src/
FeaturesManagerInterface.php, line 550
Class
- FeaturesManagerInterface
- Provides an interface for the FeaturesManager.
Namespace
Drupal\featuresCode
public function isFeatureModule(Extension $module, FeaturesBundleInterface $bundle);