implement hook_entity_view to add a button to each enabled entity