create vue-link-formatter module, integrated home link fields into vuejs

This commit is contained in:
2020-12-26 22:33:25 +01:00
parent c60d9c7316
commit 0fc6347585
11 changed files with 644 additions and 34 deletions

View File

@@ -0,0 +1,20 @@
{#
/**
* @file
* Default theme implementation of a link with separate title and URL elements.
*
* Available variables:
* - link: The link that has already been formatted by l().
* - title: (optional) A descriptive or alternate title for the link, which may
* be different than the actual link text.
*
* @see template_preprocess()
* @see template_preprocess_link_formatter_link_separate()
*
* @ingroup themeable
*/
#}
<a{{ attributes }}>
{{ title }}
</a>