IMOP, No violation there.
400.8 says flexible cords are not permitted be run through walls, structural ceilings, suspended ceilings, dropped ceilings or floors. Cabinets themselves have tops, bottoms, sides, faces, etc… but generally don’t qualify as walls, floors or ceilings.