X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=Civi%2FToken%2FEvent%2FTokenRegisterEvent.php;h=730ddb616c87c662f83d0be2d0b10eb15ec18264;hb=43830f161ffa0fa2c1b9a56feb1736e4016b35a3;hp=ee867b949e895594206032a8223b045ddb7a992b;hpb=8460eb815a69025401f719f41e02b606d3387010;p=civicrm-core.git diff --git a/Civi/Token/Event/TokenRegisterEvent.php b/Civi/Token/Event/TokenRegisterEvent.php index ee867b949e..730ddb616c 100644 --- a/Civi/Token/Event/TokenRegisterEvent.php +++ b/Civi/Token/Event/TokenRegisterEvent.php @@ -8,7 +8,7 @@ namespace Civi\Token\Event; * The TokenRegisterEvent is fired when constructing a list of available * tokens. Listeners may register by specifying the entity/field/label for the token. * - * @code + * ``` * $ev->entity('profile') * ->register('viewUrl', ts('Default Profile URL (View Mode)') * ->register('editUrl', ts('Default Profile URL (Edit Mode)'); @@ -17,7 +17,7 @@ namespace Civi\Token\Event; * 'field' => 'viewUrl', * 'label' => ts('Default Profile URL (View Mode)'), * )); - * @endcode + * ``` * * Event name: 'civi.token.list' */