You are here

function civicrm_entity_rules_action_info_alter in CiviCRM Entity 8.3

Same name and namespace in other branches
  1. 7.2 civicrm_entity.module \civicrm_entity_rules_action_info_alter()
  2. 7 civicrm_entity.module \civicrm_entity_rules_action_info_alter()

Implements hook_rules_action_info_alter().

File

./civicrm_entity.module, line 563
Module file for the CiviCRM Entity module.

Code

function civicrm_entity_rules_action_info_alter(&$rules_actions) {
  $rules_actions['civicrm_entity_user_create']['context']['format']
    ->setDescription(t('Format of the username. Use <a href="@url">Twig style</a> tokens for using the available data.', [
    '@url' => 'https://www.drupal.org/docs/8/modules/typed-data-api-enhancements/typeddata-tokens',
  ]));
}