$type =
$types[$type]['type'
];
} $form['#title'
] =
$this->
t('Add @type',
['@type' =>
$ltitle]);
$form['#section'
] =
$display_id . 'add-handler';
// Add the display override dropdown.
views_ui_standard_display_dropdown($form,
$form_state,
$section);
// Figure out all the base tables allowed based upon what the relationships provide.
$base_tables =
$executable->
getBaseTables();
$options = Views::
viewsDataHelper()->
fetchFields(array_keys($base_tables),
$type,
$display->
useGroupBy(),
$form_state->
get('type'
));
if (!
empty($options)) { $form['override'
]['controls'
] =
[ '#theme_wrappers' =>
['container'
],
'#id' => 'views-filterable-options-controls',
'#attributes' =>
['class' =>
['form--inline', 'views-filterable-options-controls'
]],
];
$form['override'
]['controls'
]['options_search'
] =
[ '#type' => 'textfield',
'#title' =>
$this->
t('Search'
),
];