In my Drupal site I have node teasers that show taxonomy terms. As it stands they are like:
Tags:
Houses
<div class="field field-name-field-tags field-type-taxonomy-term-reference field-label-above">
<div class="field-label">Tags:</div>
<div class="field-items"><div rel="schema:category" class="field-item even">
<a datatype="" property="rdfs:label skos:prefLabel" typeof="skos:Concept" href="/tags/houses">Houses</a>
</div>
</div>
</div>
I cant locate where the <a>
anchor tag is being generated. I want to be able to change it to a <button>
tag instead of anchor.
Any ideas how to do this?
hook_field_formatter_view()
how would I implement this?