You are here

public function FeaturesAssignerInterface::applyAssignmentMethod in Features 8.4

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

Applies a given package assignment method.

Parameters

string $method_id: The string identifier of the package assignment method to use to package configuration.

bool $force: (optional) If TRUE, assign config regardless of restrictions such as it being already assigned to a package.

1 method overrides FeaturesAssignerInterface::applyAssignmentMethod()
FeaturesAssigner::applyAssignmentMethod in src/FeaturesAssigner.php
Applies a given package assignment method.

File

src/FeaturesAssignerInterface.php, line 71

Class

FeaturesAssignerInterface
Common interface for features assignment services.

Namespace

Drupal\features

Code

public function applyAssignmentMethod($method_id, $force = FALSE);