public function FillEntityVariableFields::processSettings in Business Rules 2.x
Same name and namespace in other branches
- 8 src/Plugin/BusinessRulesAction/FillEntityVariableFields.php \Drupal\business_rules\Plugin\BusinessRulesAction\FillEntityVariableFields::processSettings()
Process the item settings before it's saved.
Parameters
array $settings: The settings to be processed before save the Business Rule Item.
\Drupal\business_rules\ItemInterface $item: The item being processed.
Return value
array The processed settings.
Overrides BusinessRulesItemPluginBase::processSettings
File
- src/
Plugin/ BusinessRulesAction/ FillEntityVariableFields.php, line 274
Class
- FillEntityVariableFields
- Class FillEntityVariableFields.
Namespace
Drupal\business_rules\Plugin\BusinessRulesActionCode
public function processSettings(array $settings, ItemInterface $item) {
// Unset the values from the add new line.
unset($settings['field_value']);
unset($settings['entity_field']);
unset($settings['field_value_title']);
return $settings;
}