Issue #1993330 by damiankloip: Move views_handler_field_custom_pre_render_move_text() function to a class method on Drupal\views\Plugin\views\field\Custom.