public function FeaturesBundle::isProfile in Features 8.4
Same name and namespace in other branches
- 8.3 src/Entity/FeaturesBundle.php \Drupal\features\Entity\FeaturesBundle::isProfile()
Gets option for using a profile with this bundle.
Return value
bool TRUE if a profile is used with this profile.
Overrides FeaturesBundleInterface::isProfile
2 calls to FeaturesBundle::isProfile()
- FeaturesBundle::getProfileName in src/
Entity/ FeaturesBundle.php - Returns the machine name of the profile.
- FeaturesBundle::isProfilePackage in src/
Entity/ FeaturesBundle.php - Determines if the package with $machine_name is the bundle profile.
File
- src/
Entity/ FeaturesBundle.php, line 181
Class
- FeaturesBundle
- Defines a features bundle.
Namespace
Drupal\features\EntityCode
public function isProfile() {
return $this->is_profile;
}