Question: What did the Code of Canon Law state in regards to Cardinals?
Sentence: With the revision of the Code of Canon Law promulgated in 1917 by Pope Benedict XV, only those who are already priests or bishops may be appointed cardinals.
Answer in sentence: yes