You are here

public function Entity::mentionPresaveCallback in Open Social 10.0.x

Same name and namespace in other branches
  1. 8.9 modules/custom/mentions/src/Plugin/Mentions/Entity.php \Drupal\mentions\Plugin\Mentions\Entity::mentionPresaveCallback()
  2. 8 modules/custom/mentions/src/Plugin/Mentions/Entity.php \Drupal\mentions\Plugin\Mentions\Entity::mentionPresaveCallback()
  3. 8.2 modules/custom/mentions/src/Plugin/Mentions/Entity.php \Drupal\mentions\Plugin\Mentions\Entity::mentionPresaveCallback()
  4. 8.3 modules/custom/mentions/src/Plugin/Mentions/Entity.php \Drupal\mentions\Plugin\Mentions\Entity::mentionPresaveCallback()
  5. 8.4 modules/custom/mentions/src/Plugin/Mentions/Entity.php \Drupal\mentions\Plugin\Mentions\Entity::mentionPresaveCallback()
  6. 8.5 modules/custom/mentions/src/Plugin/Mentions/Entity.php \Drupal\mentions\Plugin\Mentions\Entity::mentionPresaveCallback()
  7. 8.6 modules/custom/mentions/src/Plugin/Mentions/Entity.php \Drupal\mentions\Plugin\Mentions\Entity::mentionPresaveCallback()
  8. 8.7 modules/custom/mentions/src/Plugin/Mentions/Entity.php \Drupal\mentions\Plugin\Mentions\Entity::mentionPresaveCallback()
  9. 8.8 modules/custom/mentions/src/Plugin/Mentions/Entity.php \Drupal\mentions\Plugin\Mentions\Entity::mentionPresaveCallback()
  10. 10.3.x modules/custom/mentions/src/Plugin/Mentions/Entity.php \Drupal\mentions\Plugin\Mentions\Entity::mentionPresaveCallback()
  11. 10.1.x modules/custom/mentions/src/Plugin/Mentions/Entity.php \Drupal\mentions\Plugin\Mentions\Entity::mentionPresaveCallback()
  12. 10.2.x modules/custom/mentions/src/Plugin/Mentions/Entity.php \Drupal\mentions\Plugin\Mentions\Entity::mentionPresaveCallback()

The mentionPresaveCallback function.

Parameters

\Drupal\Core\Entity\EntityInterface $entity: The entity.

Return value

mixed Returns mixed.

Overrides MentionsPluginInterface::mentionPresaveCallback

File

modules/custom/mentions/src/Plugin/Mentions/Entity.php, line 88

Class

Entity
Class Entity.

Namespace

Drupal\mentions\Plugin\Mentions

Code

public function mentionPresaveCallback(EntityInterface $entity) {
}