'entity_field' => 'type',
'plugin_id' => 'bundle',
];
} return $filters;
} /**
* {@inheritdoc}
*/
protected function buildDisplayOptions($form, FormStateInterface
$form_state) { $display_options = parent::
buildDisplayOptions($form,
$form_state);
if (isset($display_options['default'
]['filters'
]['type'
])) { $display_options['default'
]['relationships'
]['nid'
] =
[ 'id' => 'nid',
'table' => 'node_field_revision',
'field' => 'nid',
'relationship' => 'none',
'group_type' => 'group',
'admin_label' => 'Get the actual content from a content revision.',
'required' => 'true',
'entity_type' => 'node',
'entity_field' => 'nid',