Anti-legalization of drugs and increased enforcement have been primary planks in the GOP platform since forever. So a politician who opposes legalization is closely following the Republican party line. A member of the GOP who supports legalization would be a “name only” Republican (taking only that issue into account).