Issue #1981312 by tim.plunkett, dawehner: Move views_ui() code out of the View entity type annotation.