->
set('type',
$this->type
) ->
set('id',
$this->id
) ->
disableRedirect() ->
addBuildInfo('callback_object',
$this);
} /**
* {@inheritdoc}
*/
public function getForm(ViewEntityInterface
$view,
$display_id,
$js) { /** @var \Drupal\Core\Form\FormStateInterface $form_state */
$form_state =
$this->
getFormState($view,
$display_id,
$js);
$view =
$form_state->
get('view'
);
$form_key =
$form_state->
get('form_key'
);
// @todo Remove the need for this.
\Drupal::
moduleHandler()->
loadInclude('views_ui', 'inc', 'admin'
);
// Reset the cache of IDs. Drupal rather aggressively prevents ID
// duplication but this causes it to remember IDs that are no longer even
// being used.
Html::
resetSeenIds();