×

“How I Met Your Mother” star Alyson Hannigan has joined Kate Walsh, Anthony Rapp and Jonathan Bennett in gay marriage drama “Modern Love,” with shooting under way in Los Angeles.

Thomas Dekker (“Nightmare on Elm Street”), Alona Tal, Sam Anderson, Lee Garlington, Mackenzie Astin and Hutchi Hancock have also come on board the indie project.

Joshua Tunick is directing from his own script. He’s also producing with publicist-turned-producer Eric Kops and Dave Perkal.

The story follows an intimate group of friends and family gathering at the home of two gay men — portrayed by Rapp and Bennett — to celebrate their nuptials. When the wedding hits a snag, the group helps the grooms to see that all marriages have their challenges.

The film comes at a time when 36 states have legalized same-sex marriage. Producers have said that while the film is about gay marriage, their intention is to remove the importance of the “gay” or “straight” descriptor and tell a story about the importance of the commitment of marriage.

Hannigan is repped by APA and Frankel Whitehead McKuin LLP.