if(!Symfony2ProjectComponent.isEnabled(element)) {
return new PsiReference[0];
}
if(element instanceof XmlAttributeValue) {
return new PsiReference[] { new TagReference(element, PsiElementUtils.trimQuote(element.getText()))};
}
return new PsiReference[0];
}
}