public function MentionsPluginInterface::patternCallback in Open Social 10.0.x
Same name and namespace in other branches
- 8.9 modules/custom/mentions/src/MentionsPluginInterface.php \Drupal\mentions\MentionsPluginInterface::patternCallback()
- 8 modules/custom/mentions/src/MentionsPluginInterface.php \Drupal\mentions\MentionsPluginInterface::patternCallback()
- 8.2 modules/custom/mentions/src/MentionsPluginInterface.php \Drupal\mentions\MentionsPluginInterface::patternCallback()
- 8.3 modules/custom/mentions/src/MentionsPluginInterface.php \Drupal\mentions\MentionsPluginInterface::patternCallback()
- 8.4 modules/custom/mentions/src/MentionsPluginInterface.php \Drupal\mentions\MentionsPluginInterface::patternCallback()
- 8.5 modules/custom/mentions/src/MentionsPluginInterface.php \Drupal\mentions\MentionsPluginInterface::patternCallback()
- 8.6 modules/custom/mentions/src/MentionsPluginInterface.php \Drupal\mentions\MentionsPluginInterface::patternCallback()
- 8.7 modules/custom/mentions/src/MentionsPluginInterface.php \Drupal\mentions\MentionsPluginInterface::patternCallback()
- 8.8 modules/custom/mentions/src/MentionsPluginInterface.php \Drupal\mentions\MentionsPluginInterface::patternCallback()
- 10.3.x modules/custom/mentions/src/MentionsPluginInterface.php \Drupal\mentions\MentionsPluginInterface::patternCallback()
- 10.1.x modules/custom/mentions/src/MentionsPluginInterface.php \Drupal\mentions\MentionsPluginInterface::patternCallback()
- 10.2.x modules/custom/mentions/src/MentionsPluginInterface.php \Drupal\mentions\MentionsPluginInterface::patternCallback()
The patternCallback function.
Parameters
array|string $settings: The settings.
string $regex: The pattern.
Return value
mixed Returns mixed.
1 method overrides MentionsPluginInterface::patternCallback()
- Entity::patternCallback in modules/
custom/ mentions/ src/ Plugin/ Mentions/ Entity.php - The patternCallback function.
File
- modules/
custom/ mentions/ src/ MentionsPluginInterface.php, line 52
Class
- MentionsPluginInterface
- Interface MentionsPluginInterface.
Namespace
Drupal\mentionsCode
public function patternCallback($settings, $regex);