You are here

public function FeaturesBundleInterface::setAssignmentWeights in Features 8.4

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

Sets the weights of the assignment methods.

Parameters

array $assignments: An array keyed by assignment method_id with a numeric weight value.

See also

\Drupal\features\FeaturesBundleInterface::getAssignmentWeights()

1 method overrides FeaturesBundleInterface::setAssignmentWeights()
FeaturesBundle::setAssignmentWeights in src/Entity/FeaturesBundle.php
Sets the weights of the assignment methods.

File

src/FeaturesBundleInterface.php, line 201

Class

FeaturesBundleInterface
Provides an interface for the FeaturesBundle object.

Namespace

Drupal\features

Code

public function setAssignmentWeights(array $assignments);