Drupal 9 Lepaskan bidang dari tampilan

// use this hook to remove fields because this fires before the
// query, but after the display is loaded.  therefore, it's a simple
// field unset.  dump $view->getDisplay() to see what's loaded.

function mymod_views_pre_build(ViewExecutable $view) {
	unset($view->field['name']);
}
dwcdev