Issue #2854926 by xjm, borisson_, boaloysius: Remove unneeded control structures in ContentEntityBase (cherry picked from commit ccc65da7)