public function BusinessRulesItemPluginInterface::pregMatch in Business Rules 8
Same name and namespace in other branches
- 2.x src/Plugin/BusinessRulesItemPluginInterface.php \Drupal\business_rules\Plugin\BusinessRulesItemPluginInterface::pregMatch()
Extract the variables from the plugin settings.
Parameters
string $string: The string that can have the variable token: {{variable_id}}.
Return value
array Array with the variables names.
Throws
\Exception
1 method overrides BusinessRulesItemPluginInterface::pregMatch()
- BusinessRulesItemPluginBase::pregMatch in src/
Plugin/ BusinessRulesItemPluginBase.php - Extract the variables from the plugin settings.
File
- src/
Plugin/ BusinessRulesItemPluginInterface.php, line 117
Class
- BusinessRulesItemPluginInterface
- Interface BusinessRulesItemInterface.
Namespace
Drupal\business_rules\PluginCode
public function pregMatch($string);