public function FeaturesBundleInterface::setEnabledAssignments in Features 8.4
Same name and namespace in other branches
- 8.3 src/FeaturesBundleInterface.php \Drupal\features\FeaturesBundleInterface::setEnabledAssignments()
Sets the list of enabled assignment methods.
Parameters
array $assignments: An array of values keyed by assignment method IDs. Non-empty value is enabled.
See also
\Drupal\features\FeaturesBundleInterface::getEnabledAssignments()
1 method overrides FeaturesBundleInterface::setEnabledAssignments()
- FeaturesBundle::setEnabledAssignments in src/
Entity/ FeaturesBundle.php - Sets the list of enabled assignment methods.
File
- src/
FeaturesBundleInterface.php, line 181
Class
- FeaturesBundleInterface
- Provides an interface for the FeaturesBundle object.
Namespace
Drupal\featuresCode
public function setEnabledAssignments(array $assignments);