There is no single european law governing the issue, each country has its own.
There are companies that hire you directly and those which hire you through agencies, there is a big variety in the length of the contracts as well from 3 months to 5 years to permanent.