interface FeaturesAssignmentMethodInterface in Features 8.3
Same name and namespace in other branches
- 8.4 src/FeaturesAssignmentMethodInterface.php \Drupal\features\FeaturesAssignmentMethodInterface
Interface for package assignment classes.
Hierarchy
- interface \Drupal\Component\Plugin\PluginInspectionInterface
- interface \Drupal\features\FeaturesAssignmentMethodInterface
Expanded class hierarchy of FeaturesAssignmentMethodInterface
All classes that implement FeaturesAssignmentMethodInterface
File
- src/
FeaturesAssignmentMethodInterface.php, line 12
Namespace
Drupal\featuresView source
interface FeaturesAssignmentMethodInterface extends PluginInspectionInterface {
/**
* Injects the features manager.
*
* @param \Drupal\features\FeaturesManagerInterface $features_manager
* The features manager to be used to retrieve the configuration list and
* the already assigned packages.
*/
public function setFeaturesManager(FeaturesManagerInterface $features_manager);
/**
* Injects the features assigner.
*
* @param \Drupal\features\FeaturesAssignerInterface $assigner
* The features assigner to be used to retrieve the bundle configuration.
*/
public function setAssigner(FeaturesAssignerInterface $assigner);
/**
* Injects the entity manager.
*
* @param \Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager
* The entity type manager to be used to retrieve entity information.
*/
public function setEntityTypeManager(EntityTypeManagerInterface $entity_type_manager);
/**
* Injects the configuration factory.
*
* @param \Drupal\Core\Config\ConfigFactoryInterface $config_factory
* The configuration factory to be used to retrieve configuration values.
*/
public function setConfigFactory(ConfigFactoryInterface $config_factory);
/**
* Performs package assignment.
*
* @param bool $force
* (optional) If TRUE, assign config regardless of restrictions such as it
* being already assigned to a package.
*/
public function assignPackages($force = FALSE);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
FeaturesAssignmentMethodInterface:: |
public | function | Performs package assignment. | 12 |
FeaturesAssignmentMethodInterface:: |
public | function | Injects the features assigner. | 1 |
FeaturesAssignmentMethodInterface:: |
public | function | Injects the configuration factory. | 1 |
FeaturesAssignmentMethodInterface:: |
public | function | Injects the entity manager. | 1 |
FeaturesAssignmentMethodInterface:: |
public | function | Injects the features manager. | |
PluginInspectionInterface:: |
public | function | Gets the definition of the plugin implementation. | 4 |
PluginInspectionInterface:: |
public | function | Gets the plugin_id of the plugin instance. | 2 |