public function FeaturesBundle::isDefault in Features 8.4
Same name and namespace in other branches
- 8.3 src/Entity/FeaturesBundle.php \Drupal\features\Entity\FeaturesBundle::isDefault()
Determines whether the current bundle is the default one.
Return value
bool Returns TRUE if this is the default bundle.
Overrides FeaturesBundleInterface::isDefault
1 call to FeaturesBundle::isDefault()
- FeaturesBundle::getFullName in src/
Entity/ FeaturesBundle.php - Returns a full machine name prefixed with the bundle name.
File
- src/
Entity/ FeaturesBundle.php, line 92
Class
- FeaturesBundle
- Defines a features bundle.
Namespace
Drupal\features\EntityCode
public function isDefault() {
return $this->machine_name == static::DEFAULT_BUNDLE;
}