INSTALL.txt |
INSTALL.txt |
|
How to use:
- Install the module.
- Add new text field.
- Go to display settings and chose "Phone link" formatter for you textfield.
- Save display settings. |
PhoneLinkFieldFormatter.php |
src/Plugin/Field/FieldFormatter/PhoneLinkFieldFormatter.php |
Drupal\phone_link\Plugin\Field\FieldFormatter |
|
phone_link.info.yml |
phone_link.info.yml |
|
phone_link.info.yml |
phone_link.module |
phone_link.module |
|
Contains phone_link.module.. |
README.txt |
README.txt |
|
Provide formatter for text and telephone (only Drupal 8) fields which replace phone number with link:
```
+38 (000) 000-00-00
```
to
```
<a href="tel:380000000000">+38 (000) 000-00-00</a>
// OR
<a… |