You are here

public function MentionsPluginInterface::patternCallback in Open Social 10.1.x

Same name and namespace in other branches
  1. 8.9 modules/custom/mentions/src/MentionsPluginInterface.php \Drupal\mentions\MentionsPluginInterface::patternCallback()
  2. 8 modules/custom/mentions/src/MentionsPluginInterface.php \Drupal\mentions\MentionsPluginInterface::patternCallback()
  3. 8.2 modules/custom/mentions/src/MentionsPluginInterface.php \Drupal\mentions\MentionsPluginInterface::patternCallback()
  4. 8.3 modules/custom/mentions/src/MentionsPluginInterface.php \Drupal\mentions\MentionsPluginInterface::patternCallback()
  5. 8.4 modules/custom/mentions/src/MentionsPluginInterface.php \Drupal\mentions\MentionsPluginInterface::patternCallback()
  6. 8.5 modules/custom/mentions/src/MentionsPluginInterface.php \Drupal\mentions\MentionsPluginInterface::patternCallback()
  7. 8.6 modules/custom/mentions/src/MentionsPluginInterface.php \Drupal\mentions\MentionsPluginInterface::patternCallback()
  8. 8.7 modules/custom/mentions/src/MentionsPluginInterface.php \Drupal\mentions\MentionsPluginInterface::patternCallback()
  9. 8.8 modules/custom/mentions/src/MentionsPluginInterface.php \Drupal\mentions\MentionsPluginInterface::patternCallback()
  10. 10.3.x modules/custom/mentions/src/MentionsPluginInterface.php \Drupal\mentions\MentionsPluginInterface::patternCallback()
  11. 10.0.x modules/custom/mentions/src/MentionsPluginInterface.php \Drupal\mentions\MentionsPluginInterface::patternCallback()
  12. 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\mentions

Code

public function patternCallback($settings, $regex);