How to extend ArgumentPluginBase and have it recognized by Views?
register it with hook_views_data_alter() in mymodule.views.inc

Something like this:

/**
 * Implements hook_views_data_alter().
 */
function mymodule_views_data_alter(&amp;$data) {

  $data['node_field_data']['my_custom_taxonomy_validation_argument'] = [
    'help' =&gt; t('Hello world'),
    'real field' =&gt; 'title',
    'argument' =&gt; [
      'title' =&gt; t('Hello world'),
      'id' =&gt; 'my_custom_taxonomy_validation_argument',
      'accept depth modifier' =&gt; TRUE,
    ],
    'filter' =&gt; [
      'title' =&gt; t('title'),
      'id' =&gt; 'my_custom_taxonomy_validation_argument',
    ],
  ];


}