The Buddhist view of marriage considers marriage a secular affair and as such, it is not considered a sacrament. Buddhists are expected to follow the civil laws regarding marriage laid out by their respective governments.
While the ceremony itself is civil, many Buddhists obtain the blessing from monks at the local temple after the marriage is completed.
Gautama Buddha never spoke against marriage but instead pointed out some of the difficulties of marriage. He is quoted in the Parabhava Sutta as saying
Being past one's youth, to take a young wife and to be unable to sleep for jealousy of her -- this is a cause of one's downfall.
The Dalai Lama has spoken of the merits of marriage.
While Buddhism neither encourages nor discourages marriage, it does offer some guidelines for it. While Buddhist practice varies considerably among its various schools, marriage is one of the few concepts specifically mentioned in the context of Śīla (Buddhist behavior discipline).