Barcelona clinched their 26th La Liga title, moving them to within seven of Real Madrid's record of 33.