The attachment of a cell, either to another cell or to an underlying substrate such as the extracellular matrix, via cell adhesion molecules that contributes to the shaping of the heart.
cell adhesion involved in heart morphogenesis